prevent deletion if tricky store add webui/action in future

This commit is contained in:
KOWX712
2025-01-15 01:11:59 +08:00
parent e348fbdd6f
commit 684b38afef
2 changed files with 4 additions and 4 deletions

View File

@@ -15,5 +15,5 @@ if [ ! -d "$TS" ] || [ -f "$TS/remove" ]; then
fi
fi
rm -f "$TS/action.sh"
rm -rf "$TS/webroot"
[ -L "$TS/webroot" ] && rm -f "$TS/webroot"
[ -L "$TS/action.sh" ] && rm -f "$TS/action.sh"