From 1ac541d16e6a2a778e4bea930a28d937ec5cf512 Mon Sep 17 00:00:00 2001 From: dami Date: Mon, 22 Jun 2026 17:48:47 +0800 Subject: [PATCH] Update update.sh --- plugins/nezha/update.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/nezha/update.sh b/plugins/nezha/update.sh index 0b60aeb4a..c7bb6174a 100644 --- a/plugins/nezha/update.sh +++ b/plugins/nezha/update.sh @@ -89,11 +89,10 @@ if [ ! -d $TARGET_DIR ]; then mkdir -p $TARGET_DIR fi -unzip $DOWNLOAD_FILE -d $TARGET_DIR -echo "TARGET_DIR:"$TARGET_DIR - cd $TARGET_DIR && rm -rf app cd $TARGET_DIR && rm -rf dashboard-linux-${ARCH} +unzip $DOWNLOAD_FILE -d $TARGET_DIR +echo "TARGET_DIR:"$TARGET_DIR if [ ! -f $TARGET_DIR/app ];then cd $TARGET_DIR && mv dashboard-linux-${ARCH} app && chmod +x app fi