Update uninstall-linupx.sh

This commit is contained in:
2019-01-28 18:29:16 -06:00
parent 50c26ea659
commit 52da983768

View File

@@ -16,9 +16,11 @@ do_with_root set -eu
do_with_root rm -f /usr/local/bin/runup do_with_root rm -f /usr/local/bin/runup
do_with_root rm -Rf /opt/idssys/LinUPx do_with_root rm -Rf /opt/idssys/LinUPx
IDSSYSF="`ls -l /opt/idssys/ | grep -c ^d`" if [ -d "/opt/idssys" ]; then
if [ "$IDSSYSF" = 1 ]; then IDSSYSF="`ls -l /opt/idssys/ | grep -c ^d`"
do_with_root rm -Rf /opt/idssys if [ "$IDSSYSF" = 1 ]; then
do_with_root rm -Rf /opt/idssys
fi
fi fi
echo "" echo ""