From ce8d3944d9e8a4664c58e5b9fe277ad02bc25ac7 Mon Sep 17 00:00:00 2001 From: everest Date: Tue, 31 May 2022 13:02:36 +0000 Subject: [PATCH] Delete UNINSTALL-GLACIER.sh --- install/UNINSTALL-GLACIER.sh | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 install/UNINSTALL-GLACIER.sh diff --git a/install/UNINSTALL-GLACIER.sh b/install/UNINSTALL-GLACIER.sh deleted file mode 100644 index 4dddf90..0000000 --- a/install/UNINSTALL-GLACIER.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -# 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 - -echo "[ ! ] It is recommended to uninstall all Glacier packages before uninstalling Glacier." -echo "[ ! ] This will prevent untracked packages from remaining on your system and possibly creating a security risk." -echo "[ ! ] To see which packages are installed on your system, run the following command:" -echo "[ ! ] ls /etc/glacier/pkginfo" -while true; do - read -p "[ ? ] Would you like to uninstall Glacier?" yn - case $yn in - [Yy]* ) rm -rf /etc/glacier && rm -rf /var/cache/glacier && rm -rf /var/log/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