This commit is contained in:
KOWX712
2024-11-26 01:00:47 +08:00
parent 6561ea861b
commit 6a5fb6c717

View File

@@ -39,7 +39,7 @@ else
fi
ln -s "$MODPATH/action.sh" "$TS/action.sh"
else
if [ ! -d "$TS/webroot" ]; then
if [ -d "$TS/webroot" ]; then
rm -rf "$TS/webroot"
fi
ln -s "$MODPATH/webroot" "$TS/webroot"