Add messages to the uninstall script

Now the uninstall script displays some messages showing what has
been removed.
This commit is contained in:
Lucas Possatti
2015-06-11 01:10:32 -03:00
parent a997e6100c
commit 2f0fa25618

View File

@@ -1,7 +1,18 @@
#!/bin/sh
#
# This script uninstall pokemonsay.
#
install_path="$HOME/.config/pokemonsay/"
bin_path="$HOME/bin/pokemonsay"
# Remove the install directory
rm -r "$HOME/.config/pokemonsay/"
rm -r $install_path
# Remove the bin file
rm "$HOME/bin/pokemonsay"
rm $bin_path
# Say what's going on.
echo "'$install_path' directory was removed."
echo "'$bin_path' file was removed."