mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-03 01:42:20 +08:00
* !61 $1为policy时,apt-fast换成apt * 手动更新时也重新获取源文件 * 修改: tool/ss-apt-fast * * 调整 现在与系统更新分开,不再导致更新失败
7 lines
347 B
Bash
Executable File
7 lines
347 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
|
|
echo "---可更新的应用有:"
|
|
sudo bwrap --dev-bind / / --bind '/opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list' /etc/apt/sources.list.d/sparkstore.list apt list --upgradable -o Dir::Etc::sourcelist="sources.list.d/sparkstore.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
|