From e7476f4bc3a6c54b916c2c5d9e073c72b7c1e082 Mon Sep 17 00:00:00 2001 From: shenmo Date: Mon, 20 Jul 2026 03:05:13 +0000 Subject: [PATCH] update tool/aptss. Signed-off-by: shenmo --- tool/aptss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tool/aptss b/tool/aptss index 69d78c9c..f1448cf4 100755 --- a/tool/aptss +++ b/tool/aptss @@ -62,13 +62,13 @@ 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" +curl -L --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" } function update_conf(){ mkdir -p /tmp/aptss-conf/ -curl --progress-bar -o /tmp/aptss-conf/apt-fast.conf "${SPARK_DOWNLOAD_SERVER_URL}/apt-fast.conf" +curl -L --progress-bar -o /tmp/aptss-conf/apt-fast.conf "${SPARK_DOWNLOAD_SERVER_URL}/apt-fast.conf" log.info "apt-fast.conf update done" chmod -R 755 /tmp/aptss-conf }