This commit is contained in:
2019-01-30 00:51:24 -06:00
parent b59ca2a986
commit 75971d8fd7
6 changed files with 15 additions and 12 deletions

View File

@@ -18,8 +18,8 @@ do_with_root rm -Rf /opt/idssys/LinUPx
if [ -d "/opt/idssys" ]; then
IDSSYSF="`ls -l /opt/idssys/ | grep -c ^d`"
if [ "$IDSSYSF" = 1 ]; then
do_with_root rm -Rf /opt/idssys
if [ "$IDSSYSF" = 2 ]; then
do_with_root rm -Rf /opt/idssys/defaults
fi
fi