From 4803b856ba72bd7c64ec174ff1ce3197ffa5feb4 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 2 May 2023 22:07:40 -0500 Subject: [PATCH] Update linupx-scripts.sh --- linupx-scripts.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/linupx-scripts.sh b/linupx-scripts.sh index 58b79e6..a71f146 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -6,7 +6,9 @@ FOLDER='/opt/idssys/linupx' VERS='5.86-05022023' if [ -d /opt/idssys/settings ]; then - [ $(ls /opt/idssys/settings | wc -l) -gt 0 ] && rm -rf /opt/idssys/settings + # [ $(ls /opt/idssys/settings | wc -l) -gt 0 ] && rm -rf /opt/idssys/settings + [ $(ls /opt/idssys/settings | wc -l) -gt 0 ] && echo 'yes' || echo 'no' + exit 0 fi if [ -d /opt/idssys/LinUPx ]; then