mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-19 17:42:21 +08:00
修复:部分情况下无法正确配置aptss的问题
Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
parent
1e5321834d
commit
2926a82ee4
@ -178,6 +178,7 @@ function hash_check() {
|
|||||||
# 确保aptss存在
|
# 确保aptss存在
|
||||||
function ensure_aptss_exist() {
|
function ensure_aptss_exist() {
|
||||||
if ! command -v aptss &>/dev/null; then
|
if ! command -v aptss &>/dev/null; then
|
||||||
|
apt update
|
||||||
local deb_file="/tmp/spark-store-console-in-container_latest_all.deb"
|
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
|
if ! wget -O "$deb_file" "https://amber-ce-resource.spark-app.store/store/depends/spark-store-console-in-container_latest_all.deb"; then
|
||||||
|
@ -178,6 +178,7 @@ function hash_check() {
|
|||||||
# 确保aptss存在
|
# 确保aptss存在
|
||||||
function ensure_aptss_exist() {
|
function ensure_aptss_exist() {
|
||||||
if ! command -v aptss &>/dev/null; then
|
if ! command -v aptss &>/dev/null; then
|
||||||
|
apt update
|
||||||
local deb_file="/tmp/spark-store-console-in-container_latest_all.deb"
|
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
|
if ! wget -O "$deb_file" "https://amber-ce-resource.spark-app.store/store/depends/spark-store-console-in-container_latest_all.deb"; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user