dotfiles/scripts/lolcode.sh

24 lines
432 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
2021-08-02 16:10:37 +00:00
function install () {
cd ~
2021-08-02 16:10:37 +00:00
git clone https://github.com/justinmeza/lci.git
cd lci
cmake .
2022-08-19 13:49:23 +00:00
sudo make -j $(nproc)
sudo make install -j $(nproc)
cd ~
sudo rm -rf lci
2021-08-02 16:10:37 +00:00
}
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