Last active
August 2, 2017 13:17
-
-
Save sam-irl/69bfc5974f1fb1f294c179b0292def53 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
PKG_OK=$(dpkg-query -W --showformat='${Status}\n' wget|grep "install ok installed") | |
echo Checking for wget: $PKG_OK | |
if [ "" == "$PKG_OK" ]; then | |
echo "wget not found. Setting up wget." | |
sudo apt-get --force-yes --yes install wget | |
fi | |
sudo wget -O /usr/bin/cls https://git.io/v7u2q | |
sudo wget -O /usr/share/man/man1/cls.1.gz https://git.io/v7u2c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment