Skip to content

Commit

Permalink
fix init.sh bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jingjingxyk committed Jul 16, 2024
1 parent 3855e9a commit 35fed4b
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,8 @@ init() {
yum update -y
yum install -y which
;;
'ubuntu')
if [ "$GITHUB_ACTIONS" = "true" ] && [ -f /.dockerenv ]; then
sed -i.bak "[email protected]@azure.archive.ubuntu.com@g" /etc/apt/sources.list
sed -i.bak "[email protected]@azure.archive.ubuntu.com@g" /etc/apt/sources.list
fi
;;
'ubuntu') ;;

'alpine')
apk update
apk add bash
Expand All @@ -71,7 +67,6 @@ init() {

init


while [ $# -gt 0 ]; do
case "$1" in
--debug)
Expand Down

0 comments on commit 35fed4b

Please sign in to comment.