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

This commit is contained in:
2025-09-17 14:49:29 +00:00
committed by momen
parent c2764636e4
commit 318cc780e1
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