From d4aba599886b51a35b34cb659cdb5aab4c981638 Mon Sep 17 00:00:00 2001 From: juewuy Date: Tue, 27 Oct 2020 09:42:12 +0800 Subject: [PATCH] =?UTF-8?q?v1.0.0beta15.7=20~=E4=BF=AE=E6=94=B9=E4=BA=86?= =?UTF-8?q?=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1=E5=AE=9E=E7=8E=B0=E6=96=B9?= =?UTF-8?q?=E5=BC=8F=EF=BC=8C=E9=80=82=E9=85=8D=E6=9B=B4=E5=A4=9A=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=20~=E4=BF=AE=E6=94=B9=E4=BA=86=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=BF=AE=E9=A5=B0=E6=96=B9=E5=BC=8F=20~?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BA=86=E9=9D=9Eroot=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E4=BD=93=E9=AA=8C=20~=E4=BC=98=E5=8C=96=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 06586be..a9891fa 100644 --- a/install.sh +++ b/install.sh @@ -81,7 +81,7 @@ gettar(){ else #设为保守模式启动 sed -i '/start_old=*/'d $clashdir/mark - sed -i "1i\start_old=已开启" $clashdir/mark + echo start_old=已开启 >> $clashdir/mark fi fi #修饰文件及版本号 @@ -89,7 +89,7 @@ gettar(){ sed -i "s%#!/bin/sh%#!/bin/$shtype%g" $clashdir/start.sh chmod 777 $clashdir/start.sh sed -i '/versionsh_l=*/'d $clashdir/mark - sed -i "1i\versionsh_l=$release_new" $clashdir/mark + echo versionsh_l=$release_new >> $clashdir/mark #设置环境变量 [ -w ~/.bashrc ] && profile=~/.bashrc [ -w /etc/profile ] && profile=/etc/profile