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