From 766b7cd178b9c8d402a18ab247c1ac0fa66ac2c6 Mon Sep 17 00:00:00 2001 From: shenmo Date: Mon, 28 Aug 2023 23:45:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=EF=BC=9A=E5=9B=A0=E4=B8=BAap?= =?UTF-8?q?t-fast=E8=BF=94=E5=9B=9E=E5=80=BC=E9=83=BD=E6=98=AF1,=E5=8F=AA?= =?UTF-8?q?=E5=A5=BD=E6=9A=82=E6=97=B6=E5=85=A8=E9=83=A8=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tool/aptss | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tool/aptss b/tool/aptss index 518e6eb..f9c9805 100755 --- a/tool/aptss +++ b/tool/aptss @@ -73,12 +73,10 @@ if [ "$1" = "install" ] || [ "$1" = "upgrade" ] || [ "$1" = "full-upgrade" ] ; ###执行 ${SS_APT_FAST} "$@" --allow-downgrades -c /opt/durapps/spark-store/bin/apt-fast-conf/aptss-apt.conf -EXIT_CODE=$? -if [ "$EXIT_CODE" != "0" ];then + echo -e "\e[1;33m$TRANSHELL_CONTENT_PLEASE_USE_APTSS_INSTEAD_OF_APT\e[0m" -exit -fi -unset EXIT_CODE + + elif [ "$1" = "download" ];then