仍然选用绝对路径

This commit is contained in:
2022-12-11 18:33:46 +08:00
parent b1499b5942
commit 9614efa0aa
3 changed files with 6 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ sudo bwrap --dev-bind / / --bind '/opt/durapps/spark-store/bin/apt-fast-conf/sou
bwrap --dev-bind / / \
--bind '/tmp/aptss-conf/apt-fast.conf' /etc/apt-fast.conf \
--bind '/opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list' /etc/apt/sources.list.d/sparkstore.list \
ss-apt-fast "$@" --allow-downgrades
/opt/durapps/spark-store/bin/apt-fast/ss-apt-fast "$@" --allow-downgrades
elif [ "$1" = "download" ];then
@@ -34,7 +34,7 @@ elif [ "$1" = "download" ];then
bwrap --dev-bind / / \
--bind '/tmp/aptss-conf/apt-fast.conf' /etc/apt-fast.conf \
--bind '/opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list' /etc/apt/sources.list.d/sparkstore.list \
ss-apt-fast "$@" --allow-downgrades
/opt/durapps/spark-store/bin/apt-fast/ss-apt-fast "$@" --allow-downgrades
elif [ "$1" = "policy" ] || [ "$1" = "search" ];then