Commit af2c79c9 authored by USTC Blgo Operations's avatar USTC Blgo Operations

fix switch-off-testing script

parent 27ac80ac
......@@ -26,7 +26,9 @@ fi
if [ -f "$APPROOT/TESTING" ]; then
echo "switching $APPNAME back to normal mode..."
rm -f "$APPROOT/TESTING";
rm -f "$APPROOT/TESTING"
rm -rf "$APPROOT/wp-admin"
rm -rf "$APPROOT/wp-includes"
rsync -a $COPYSRC/ $APPROOT/
else
echo "$APPNAME is not in testing mode"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment