Created
July 19, 2018 17:43
-
-
Save wilm0x42/6f11a58d3ef1ccb1238045e29834af40 to your computer and use it in GitHub Desktop.
Script to install boot-repair, 'cause manual installation sucks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Download debian packages | |
wget https://launchpad.net/~yannubuntu/+archive/ubuntu/boot-repair/+files/glade2script_3.2.3~ppa4_all.deb | |
wget https://launchpad.net/~yannubuntu/+archive/ubuntu/boot-repair/+files/boot-sav_4ppa65_all.deb | |
wget https://launchpad.net/~yannubuntu/+archive/ubuntu/boot-repair/+files/boot-repair_4ppa65_all.deb | |
# Attempt to install them | |
sudo dpkg -i ./glade2script_3.2.3~ppa4_all.deb | |
sudo dpkg -i ./boot-sav_4ppa65_all.deb | |
sudo dpkg -i ./boot-repair_4ppa65_all.deb | |
# Now that dpkg knows we need to install dependancies for these packages | |
# use apt-get to auto-install said dependancies | |
sudo apt-get -f install | |
# Install the packages FOR REAL this time | |
sudo dpkg -i ./glade2script_3.2.3~ppa4_all.deb | |
sudo dpkg -i ./boot-sav_4ppa65_all.deb | |
sudo dpkg -i ./boot-repair_4ppa65_all.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment