diff --git a/tool/aptss b/tool/aptss index 2bfa0ca..77166a6 100755 --- a/tool/aptss +++ b/tool/aptss @@ -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