2017-06-27 01:57:39 +02:00
|
|
|
#!/bin/bash
|
|
|
|
# Author: Alexander Epstein https://github.com/alexanderepstein
|
2017-06-28 03:47:23 +02:00
|
|
|
|
2017-06-28 03:53:09 +02:00
|
|
|
if [[ -f /usr/local/bin/currency ]];then
|
|
|
|
echo -n "Do you wish to uninstall currency [Y/n]: "
|
|
|
|
read -r answer
|
|
|
|
if [[ "$answer" == "Y" || "$answer" == "y" ]] ;then
|
|
|
|
cd currency || exit 1
|
|
|
|
./uninstall.sh || exit 1
|
|
|
|
cd .. || exit 1
|
|
|
|
fi
|
|
|
|
unset answer
|
2017-06-28 03:47:23 +02:00
|
|
|
fi
|
|
|
|
|
2017-06-28 03:53:09 +02:00
|
|
|
if [[ -f /usr/local/bin/stocks ]];then
|
|
|
|
echo -n "Do you wish to uninstall stocks [Y/n]: "
|
|
|
|
read -r answer
|
|
|
|
if [[ "$answer" == "Y" || "$answer" == "y" ]] ;then
|
|
|
|
cd stocks || exit 1
|
|
|
|
./uninstall.sh
|
|
|
|
cd .. || exit 1
|
2017-06-28 03:47:23 +02:00
|
|
|
|
2017-06-28 03:53:09 +02:00
|
|
|
fi
|
|
|
|
unset answer
|
2017-06-28 03:47:23 +02:00
|
|
|
fi
|
|
|
|
|
2017-06-28 03:53:09 +02:00
|
|
|
if [[ -f /usr/local/bin/weather ]];then
|
|
|
|
echo -n "Do you wish to uninstall weather [Y/n]: "
|
|
|
|
read -r answer
|
|
|
|
if [[ "$answer" == "Y" || "$answer" == "y" ]] ;then
|
|
|
|
cd weather || exit 1
|
|
|
|
./uninstall.sh
|
|
|
|
cd .. || exit 1
|
2017-06-28 03:47:23 +02:00
|
|
|
|
2017-06-28 03:53:09 +02:00
|
|
|
fi
|
|
|
|
unset answer
|
2017-06-28 03:47:23 +02:00
|
|
|
fi
|
|
|
|
|
2017-06-28 03:53:09 +02:00
|
|
|
if [[ -f /usr/local/bin/crypt ]];then
|
|
|
|
echo -n "Do you wish to uninstall crypt [Y/n]: "
|
|
|
|
read -r answer
|
|
|
|
if [[ "$answer" == "Y" || "$answer" == "y" ]] ;then
|
|
|
|
cd crypt || exit 1
|
|
|
|
./uninstall.sh
|
|
|
|
cd .. || exit 1
|
2017-06-28 03:47:23 +02:00
|
|
|
|
2017-06-28 03:53:09 +02:00
|
|
|
fi
|
|
|
|
unset answer
|
2017-06-28 03:47:23 +02:00
|
|
|
fi
|
|
|
|
|
2017-06-28 03:53:09 +02:00
|
|
|
if [[ -f /usr/local/bin/movies ]];then
|
|
|
|
echo -n "Do you wish to uninstall movies [Y/n]: "
|
|
|
|
read -r answer
|
|
|
|
if [[ "$answer" == "Y" || "$answer" == "y" ]] ;then
|
|
|
|
cd movies || exit 1
|
|
|
|
./uninstall.sh
|
|
|
|
cd .. || exit 1
|
|
|
|
fi
|
2017-06-28 03:47:23 +02:00
|
|
|
fi
|
2017-06-30 07:45:01 +02:00
|
|
|
|
|
|
|
if [[ -f /usr/local/bin/taste ]];then
|
2017-06-30 18:46:46 +02:00
|
|
|
echo -n "Do you wish to uninstall taste [Y/n]: "
|
2017-06-30 07:45:01 +02:00
|
|
|
read -r answer
|
|
|
|
if [[ "$answer" == "Y" || "$answer" == "y" ]] ;then
|
|
|
|
cd taste || exit 1
|
|
|
|
./uninstall.sh
|
|
|
|
cd .. || exit 1
|
|
|
|
fi
|
|
|
|
fi
|
2017-06-30 15:47:57 +02:00
|
|
|
|
|
|
|
if [[ -f /usr/local/bin/short ]];then
|
2017-06-30 18:46:46 +02:00
|
|
|
echo -n "Do you wish to uninstall short [Y/n]: "
|
2017-06-30 15:47:57 +02:00
|
|
|
read -r answer
|
|
|
|
if [[ "$answer" == "Y" || "$answer" == "y" ]] ;then
|
|
|
|
cd short || exit 1
|
|
|
|
./uninstall.sh
|
|
|
|
cd .. || exit 1
|
|
|
|
fi
|
|
|
|
fi
|
2017-06-30 18:46:46 +02:00
|
|
|
|
|
|
|
if [[ -f /usr/local/bin/geo ]];then
|
|
|
|
echo -n "Do you wish to uninstall geo [Y/n]: "
|
|
|
|
read -r answer
|
|
|
|
if [[ "$answer" == "Y" || "$answer" == "y" ]] ;then
|
|
|
|
cd geo || exit 1
|
|
|
|
./uninstall.sh
|
|
|
|
cd .. || exit 1
|
|
|
|
fi
|
|
|
|
fi
|
2017-07-03 03:34:34 +02:00
|
|
|
|
|
|
|
if [[ -f /usr/local/bin/cheat ]];then
|
|
|
|
echo -n "Do you wish to uninstall cheat [Y/n]: "
|
|
|
|
read -r answer
|
|
|
|
if [[ "$answer" == "Y" || "$answer" == "y" ]] ;then
|
|
|
|
cd cheat || exit 1
|
|
|
|
./uninstall.sh
|
|
|
|
cd .. || exit 1
|
|
|
|
fi
|
|
|
|
fi
|