修复:部分情况下无法正确配置aptss的问题

Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
shenmo 2025-09-17 14:49:29 +00:00 committed by Gitee
parent 1e5321834d
commit 2926a82ee4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 0 deletions

View File

@ -178,6 +178,7 @@ function hash_check() {
# 确保aptss存在
function ensure_aptss_exist() {
if ! command -v aptss &>/dev/null; then
apt update
local deb_file="/tmp/spark-store-console-in-container_latest_all.deb"
if ! wget -O "$deb_file" "https://amber-ce-resource.spark-app.store/store/depends/spark-store-console-in-container_latest_all.deb"; then

View File

@ -178,6 +178,7 @@ function hash_check() {
# 确保aptss存在
function ensure_aptss_exist() {
if ! command -v aptss &>/dev/null; then
apt update
local deb_file="/tmp/spark-store-console-in-container_latest_all.deb"
if ! wget -O "$deb_file" "https://amber-ce-resource.spark-app.store/store/depends/spark-store-console-in-container_latest_all.deb"; then