From 4ecf5d169efd800ccf1fe09ad2282a828bfa3bee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Aime?= Date: Thu, 11 Feb 2021 20:09:03 +0100 Subject: [PATCH] Update uninstall script --- uninstall.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/uninstall.sh b/uninstall.sh index d7e856c..603e881 100644 --- a/uninstall.sh +++ b/uninstall.sh @@ -7,10 +7,10 @@ delete_folder(){ delete_services(){ echo "[+] Deleting TinyCheck services" - systemctl disable tinycheck-frontend - systemctl disable tinycheck-backend - systemctl disable tinycheck-kiosk - systemctl disable tinycheck-watchers + systemctl disable tinycheck-frontend &> /dev/null + systemctl disable tinycheck-backend &> /dev/null + systemctl disable tinycheck-kiosk &> /dev/null + systemctl disable tinycheck-watchers &> /dev/null rm /lib/systemd/system/tinycheck-frontend.service rm /lib/systemd/system/tinycheck-backend.service @@ -39,7 +39,7 @@ delete_packages(){ "sqlite3" "nodejs") - echo -n "[?] Do you want to remove the installed packages? [Y/n] " + echo -n "[?] Do you want to remove the installed packages? (Yes/no) " read answer if [[ "$answer" =~ ^([yY][eE][sS]|[yY])$ ]] then