mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
修复cookie.db迁移
This commit is contained in:
1 parent
e44a7aca1a
commit
b00acc7ef5
1 file changed
+1
-1
+1
-1
@@ -252,7 +252,7 @@ usage() {
|
||||
update_qinglong() {
|
||||
local no_restart="$1"
|
||||
echo -e "--------------------------------------------------------------\n"
|
||||
if [ -f /ql/db/cookie.db ] && [ ! -f /ql/db/env.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
|
||||
|
||||
Reference in new issue
Block a user