mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-11-02 15:22:21 +08:00
aptss 支持reinstall 指令
This commit is contained in:
parent
1dc0f90d01
commit
20cae0a807
@ -53,6 +53,7 @@ case $(arch) in
|
||||
esac
|
||||
fi
|
||||
|
||||
|
||||
SS_APT_FAST="/opt/durapps/spark-store/bin/apt-fast/ss-apt-fast"
|
||||
|
||||
|
||||
@ -62,7 +63,7 @@ is_empty_dir(){
|
||||
|
||||
function update_list(){
|
||||
curl --progress-bar -o /opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/aptss.list "${SPARK_DOWNLOAD_SERVER_URL}/${UPSTREAM_CATOGARY}${STORE_LIST_URL}.list"
|
||||
log.info "${UPSTREAM_CATOGARY}${STORE_LIST_URL}.list update done"
|
||||
log.info "${UPSTREAM_CATOGARY}${STORE_LIST_URL}.list update done"
|
||||
}
|
||||
|
||||
function update_conf(){
|
||||
@ -113,7 +114,7 @@ fi
|
||||
|
||||
|
||||
|
||||
if [ "$1" = "install" ] || [ "$1" = "upgrade" ] || [ "$1" = "full-upgrade" ] || [ "$1" = "dist-upgrade" ]; then
|
||||
if [ "$1" = "install" ] || [ "$1" = "upgrade" ] || [ "$1" = "full-upgrade" ] || [ "$1" = "reinstall" ] || [ "$1" = "dist-upgrade" ]; then
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user