Last active
June 10, 2017 19:42
-
-
Save whizzzkid/d5f9491cd60f09be51920e973a60e401 to your computer and use it in GitHub Desktop.
Installs all intel graphics drivers for linux. [This will reboot your machine on completion]
This file contains 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
# To install run: | |
# curl -o- http://bit.ly/igfwl-installer | bash | |
FW=("kblgucver914.tar.bz2" "kbldmcver101.tar.bz2" "kblhucver02001810.tar.bz2" "sklgucver61.tar.bz2" "skldmcver126.tar.bz2" "sklhucver01071398.tar.bz2" "bxtgucver87.tar.bz2" "bxtdmcver107.tar.bz2" "bxthucver01071398.tar.bz2") | |
echo "Starting Install..." | |
cd /tmp | |
mkdir fw | |
for i in "${FW[@]}" | |
do | |
echo "Downloading "$i | |
wget "https://01.org/sites/default/files/downloads/intelr-graphics-linux/"$i | |
tar -xf $i -C fw | |
rm $i | |
done | |
echo "Installing..." | |
for d in $(find /tmp/fw -maxdepth 1 -type d) | |
do | |
#Do something, the directory is accessible with $d: | |
cd $d | |
sudo bash install.sh | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this. Just a heads up, you can combine lines 12-14 could be combined into one: