dotfiles/scripts/lolcode.sh

24 lines
408 B
Bash
Executable File

#!/usr/bin/env bash
function install () {
cd ~
git clone https://github.com/justinmeza/lci.git
cd lci
cmake .
sudo make
sudo make install
cd ~
sudo rm -rf lci
}
function uninstall () {
rm -rf /usr/local/bin/lci
}
if [ "$1" == "install" ]; then
install
elif [ "$1" == "uninstall" ] || [ "$1" == "remove" ]; then
uninstall
else
echo "please specify args with install or uninstall"
fi