Created
November 29, 2015 00:16
-
-
Save chrisbuttery/cf20c1769ff613645060 to your computer and use it in GitHub Desktop.
Uninstall Elm
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
#!/bin/sh | |
set -e | |
echo "Warning: You are about to remove all Elm executables!" | |
installdir=/usr/local/bin | |
for bin in elm elm-compiler elm-get elm-reactor elm-repl elm-doc elm-server elm-package elm-make | |
do | |
if [ -f $installdir/$bin ]; then | |
sudo rm -f $installdir/$bin | |
fi | |
if [ -f $installdir/$bin-unwrapped ]; then | |
sudo rm -f $installdir/$bin-unwrapped | |
fi | |
done | |
sharedir=/usr/local/share/elm | |
sudo rm -rf $sharedir |
Author
chrisbuttery
commented
Sep 11, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment