Last active
December 14, 2015 07:59
-
-
Save sudowork/5054395 to your computer and use it in GitHub Desktop.
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
| echo "Adding ppa:dns/gnu repository" | |
| sudo add-apt-repository -y ppa:dns/gnu | |
| echo "" | |
| echo "Updating package listings" | |
| sudo apt-get update | |
| echo "" | |
| echo "Upgrading gprolog package" | |
| sudo apt-get install -yu gprolog | |
| echo "" | |
| GPROLOG_HOME=/usr/lib/gprolog-iso/bin | |
| if [ -d "$GPROLOG_HOME" ]; then | |
| echo "Linking unlinked binaries from /usr/lib/gprolog-iso/bin to /usr/bin" | |
| sudo ln -vs $GPROLOG_HOME/* /usr/bin/ 2>/dev/null | |
| fi | |
| echo "Finished" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment