fix: now wont inform aptss everytime

This commit is contained in:
2023-09-01 22:56:44 +08:00
parent 407ec6b573
commit d085f3de73
2 changed files with 10 additions and 5 deletions

View File

@@ -73,9 +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
ret="$?"
if [ "$ret" -ne 0 ];then
echo -e "\e[1;33m$TRANSHELL_CONTENT_PLEASE_USE_APTSS_INSTEAD_OF_APT\e[0m"
fi
elif [ "$1" = "download" ];then