From 069e236674b8caa361ae470bf73b6a2bd84f4f84 Mon Sep 17 00:00:00 2001 From: hanhh <18330117883@163.com> Date: Thu, 5 Aug 2021 18:02:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E4=BB=B6=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E8=AF=AD=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/update.sh b/shell/update.sh index bcf5862e..0ef5b6c9 100755 --- a/shell/update.sh +++ b/shell/update.sh @@ -278,10 +278,10 @@ update_qinglong() { } patch_version() { - if [ -f /ql/db/cookie.db ]; then + if [[ -f "/ql/db/cookie.db" ]]; then echo -e "检测到旧的db文件,拷贝为新db...\n" mv /ql/db/cookie.db /ql/db/env.db - rm /ql/db/cookie.db + rm -rf /ql/db/cookie.db echo fi