mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-10-23 02:32:20 +08:00
调整:因为apt-fast返回值都是1,只好暂时全部提示
This commit is contained in:
parent
5d4ac6f523
commit
766b7cd178
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user