diff --git a/tool/aptss b/tool/aptss index 88f4e4d..450f1e4 100755 --- a/tool/aptss +++ b/tool/aptss @@ -59,7 +59,7 @@ curl --silent -o /tmp/aptss-conf/apt-fast.conf "https://d.store.deepinos.org.c chmod -R 755 /tmp/aptss-conf curl --silent -o /opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list "https://d.store.deepinos.org.cn/sparkstore${STORE_LIST_URL}.list" -apt update -c /opt/durapps/spark-store/bin/apt-fast-conf/aptss-apt.conf +/usr/bin/apt update -c /opt/durapps/spark-store/bin/apt-fast-conf/aptss-apt.conf #只更新星火源 @@ -96,7 +96,7 @@ elif [ "$1" = "policy" ] || [ "$1" = "search" ];then ###执行 - apt "$@" -c /opt/durapps/spark-store/bin/apt-fast-conf/aptss-apt.conf + /usr/bin/apt "$@" -c /opt/durapps/spark-store/bin/apt-fast-conf/aptss-apt.conf elif [ "$1" = "ssupdate" ];then @@ -109,7 +109,7 @@ chmod -R 755 /tmp/aptss-conf curl --silent -o /opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list "https://d.store.deepinos.org.cn/sparkstore${STORE_LIST_URL}.list" -apt update -c /opt/durapps/spark-store/bin/apt-fast-conf/aptss-apt.conf -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0" -o Dir::Etc::sourcelist="/opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list" +/usr/bin/apt update -c /opt/durapps/spark-store/bin/apt-fast-conf/aptss-apt.conf -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0" -o Dir::Etc::sourcelist="/opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list" #只更新星火源 @@ -121,10 +121,10 @@ mkdir -p /tmp/aptss-conf/ curl --progress-bar -o /tmp/aptss-conf/apt-fast.conf "https://d.store.deepinos.org.cn/apt-fast.conf" chmod -R 755 /tmp/aptss-conf ### 额外一份拿来给aptss自动补全用 - apt "$@" -c /opt/durapps/spark-store/bin/apt-fast-conf/aptss-apt.conf + /usr/bin/apt "$@" -c /opt/durapps/spark-store/bin/apt-fast-conf/aptss-apt.conf else - apt "$@" -c /opt/durapps/spark-store/bin/apt-fast-conf/aptss-apt.conf + /usr/bin/apt "$@" -c /opt/durapps/spark-store/bin/apt-fast-conf/aptss-apt.conf fi