From 35fed4bae740b6ce3a262ced795d8d80da7945f4 Mon Sep 17 00:00:00 2001 From: jingjingxyk Date: Tue, 16 Jul 2024 23:42:59 +0800 Subject: [PATCH] fix init.sh bug --- init.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/init.sh b/init.sh index 6eed13d..4ca15f1 100644 --- a/init.sh +++ b/init.sh @@ -51,12 +51,8 @@ init() { yum update -y yum install -y which ;; - 'ubuntu') - if [ "$GITHUB_ACTIONS" = "true" ] && [ -f /.dockerenv ]; then - sed -i.bak "s@archive.ubuntu.com@azure.archive.ubuntu.com@g" /etc/apt/sources.list - sed -i.bak "s@security.ubuntu.com@azure.archive.ubuntu.com@g" /etc/apt/sources.list - fi - ;; + 'ubuntu') ;; + 'alpine') apk update apk add bash @@ -71,7 +67,6 @@ init() { init - while [ $# -gt 0 ]; do case "$1" in --debug)