v1.0.0beta18.3

~同步最新1.35clash核心及premium核心
~同步最新GeoIP数据库文件
~同步最新dashboard面板文件
~同步最新ca证书文件
~修复部分情况下提示解压失败的bug
This commit is contained in:
juewuy
2020-12-28 12:15:08 +08:00
parent 82ba1447e1
commit fe49bf4e52
23 changed files with 5 additions and 4 deletions

View File

@@ -550,6 +550,7 @@ getdb(){
echo -e "\033[33m下载成功正在解压文件\033[0m"
mkdir -p $dbdir > /dev/null
tar -zxvf "/tmp/clashdb.tar.gz" -C $dbdir > /dev/null
[ $? -ne 0 ] && tar -zxvf "/tmp/clashdb.tar.gz" --no-same-permissions -C $dbdir > /dev/null
[ $? -ne 0 ] && echo "文件解压失败!" && rm -rf /tmp/clashfm.tar.gz && exit 1
#修改默认host和端口
if [ "$db_type" = "clashdb" ];then