mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-03 01:42:20 +08:00
修改: debian/control 修改: debian/spark-store.postinst 修改: debian/spark-store.prerm 修改: spark-store-project.pro 修改: src/main.cpp 新文件: tool/apt-fast-conf/apt-fast.conf 新文件: tool/ss-apt-fast 修改: tool/ssinstall 修改: tool/update-upgrade/ss-do-upgrade.sh 修改: tool/update-upgrade/ss-update-controler.sh
9 lines
449 B
Bash
Executable File
9 lines
449 B
Bash
Executable File
#!/bin/bash
|
||
DEPEND=`which apt-fast`
|
||
if [ "$DEPEND" = "" ] ; then
|
||
echo "没有安装apt-fast,使用apt运行"
|
||
sudo apt upgrade -o Dir::Etc::sourcelist="sources.list.d/sparkstore.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
|
||
else
|
||
echo "已安装apt-fast,使用apt-fast加速运行"
|
||
ss-apt-fast upgrade -o Dir::Etc::sourcelist="sources.list.d/sparkstore.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
|
||
fi |