mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update update.sh
This commit is contained in:
@@ -90,7 +90,7 @@ if [ ! -d $TARGET_DIR ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
cd $TARGET_DIR && rm -rf app.bak
|
cd $TARGET_DIR && rm -rf app.bak
|
||||||
cd $TARGET_DIR && mw app app.bak
|
cd $TARGET_DIR && mv app app.bak
|
||||||
unzip $DOWNLOAD_FILE -d $TARGET_DIR
|
unzip $DOWNLOAD_FILE -d $TARGET_DIR
|
||||||
echo "TARGET_DIR:"$TARGET_DIR
|
echo "TARGET_DIR:"$TARGET_DIR
|
||||||
if [ ! -f $TARGET_DIR/app ];then
|
if [ ! -f $TARGET_DIR/app ];then
|
||||||
|
|||||||
Reference in New Issue
Block a user