glacier-old/UNINSTALL-GLACIER.sh

16 lines
389 B
Bash
Raw Normal View History

2022-03-09 17:40:37 -05:00
#!/bin/sh
2022-03-09 17:42:58 -05:00
# Require the script to be run as root
if [[ $(/usr/bin/id -u) -ne 0 ]]; then
echo "[ X ] Please run Glacier uninstallation as root."
exit
fi
2022-03-10 11:54:52 -05:00
echo "[ ! ] It is recommended to uninstall all Glacier packages before uninstalling Glacier."
rm -rf /etc/glacier
rm /bin/glacier-install
rm /bin/glacier-update
rm /bin/glacier-remove
rm /bin/glacier-query
rm /bin/glacier-help