From 94fc03933874c613f58972a3b70f872a26363377 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 6 Jul 2023 20:40:53 -0500 Subject: [PATCH] Update install-dsmon.sh --- install-dsmon.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install-dsmon.sh b/install-dsmon.sh index 53b8b28..9cf7182 100755 --- a/install-dsmon.sh +++ b/install-dsmon.sh @@ -16,7 +16,10 @@ if [ -d "/opt/idssys/dsmon" ]; then echo -en "${idsCL[Yellow]}DiskSpace-Monitor is already installed, would you like to re-install (y/N)? ${idsCL[Default]}" read reinstall case $reinstall in - [Yy]) uninstall=$(`bash <(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/uninstall-dsmon.sh)`)>/dev/null 2>&1;; + [Yy]) + rm -f /usr/local/bin/dsmon + rm -Rf /opt/idssys/dsmon + ;; *) EXIT1;; esac fi