Add messages to the uninstall script
Now the uninstall script displays some messages showing what has been removed.
This commit is contained in:
15
uninstall.sh
15
uninstall.sh
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user