From 0e4f5cc29d887e8233a1d93b24eb1cc834d0fac4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Thu, 1 Dec 2022 14:43:00 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=B9=E6=80=A7=EF=BC=88=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=E8=A1=8C=EF=BC=89=EF=BC=9A=E4=BC=98=E5=8C=96=E5=8D=87=E7=BA=A7?= =?UTF-8?q?=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Console/Commands/Panel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/Panel.php b/app/Console/Commands/Panel.php index 785d5711..f55101e6 100644 --- a/app/Console/Commands/Panel.php +++ b/app/Console/Commands/Panel.php @@ -103,7 +103,7 @@ class Panel extends Command $this->info(shell_exec('rm -rf /www/panel')); $this->info(shell_exec('mkdir /www/panel')); $this->info('正在解压新版本...'); - $this->info(shell_exec('unzip /tmp/panel.zip -d /www/panel')); + $this->info(shell_exec('unzip -o /tmp/panel.zip -d /www/panel')); $this->info('正在恢复数据库...'); $this->info(shell_exec('\cp /tmp/database.sqlite /www/panel/database/database.sqlite')); $this->info('正在恢复插件...');