Update UNINSTALL-GLACIER.sh
This commit is contained in:
parent
554bf6724f
commit
0311d859c9
@ -7,9 +7,14 @@ if [[ $(/usr/bin/id -u) -ne 0 ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "[ ! ] It is recommended to uninstall all Glacier packages before uninstalling Glacier."
|
echo "[ ! ] It is recommended to uninstall all Glacier packages before uninstalling Glacier."
|
||||||
rm -rf /etc/glacier
|
echo "[ ! ] This will prevent untracked packages from remaining on your system and possibly creating a security risk."
|
||||||
rm /bin/glacier-install
|
echo "[ ! ] To see which packages are installed on your system, run the following command:"
|
||||||
rm /bin/glacier-update
|
echo "[ ! ] ls /etc/glacier/pkginfo"
|
||||||
rm /bin/glacier-remove
|
while true; do
|
||||||
rm /bin/glacier-query
|
read -p "[ ? ] Would you like to uninstall Glacier?" yn
|
||||||
rm /bin/glacier-help
|
case $yn in
|
||||||
|
[Yy]* ) rm -rf /etc/glacier && rm /bin/glacier-install && rm /bin/glacier-update && rm /bin/glacier-remove && rm /bin/glacier-query && rm /bin/glacier-help; break;;
|
||||||
|
[Nn]* ) exit;;
|
||||||
|
* ) echo "[ ! ] You must answer either yes or no.";;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user