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