From 20d34a73694752c4f6d0367c14f36d939de20af8 Mon Sep 17 00:00:00 2001 From: shenmo Date: Tue, 28 Jun 2022 08:20:31 +0000 Subject: [PATCH] =?UTF-8?q?!49=20ss-apt-fast=E9=9C=80=E8=A6=81=E5=8A=A0?= =?UTF-8?q?=E5=85=A5sudo=20*=20update=20tool/ssinstall.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tool/ssinstall | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tool/ssinstall b/tool/ssinstall index d7c474e..0b73b65 100755 --- a/tool/ssinstall +++ b/tool/ssinstall @@ -60,13 +60,13 @@ fi if [ "$DEPEND" != "" ] && [ "$isuos" != "" ]; then echo "UOS中系统依赖无法使用第三方下载工具,放弃使用apt-fast" echo ---------------------------------------------------------------------------------- -echo "$upass" | sudo -S dpkg -i $1 || apt install -yf +echo "$upass" | sudo -S dpkg -i $1 || sudo apt install -yf fi if [ "$DEPEND" != "" ] && [ "$isuos" = "" ]; then echo "检测到apt-fast,使用ss-apt-fast进行多线程下载加速" echo ---------------------------------------------------------------------------------- -echo "$upass" | sudo -S dpkg -i $1 || ss-apt-fast install -yf +echo "$upass" | sudo -S dpkg -i $1 || sudo ss-apt-fast install -yf fi echo "$upass" | sudo -S sed -i 's/500/400/g' /etc/apt/preferences.d/sparkstore