Skip to content

Commit 99ba613

Browse files
use apt-get instead of apt
1 parent 179400c commit 99ba613

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.github/scripts/build-hirsute.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ deb $MIRROR $SUITE-backports main restricted universe multiverse
5858
5959
EOF
6060
# clean any archive if exits
61-
apt clean
61+
apt-get clean
6262

6363
}
6464

.github/scripts/build-impish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ deb $MIRROR $SUITE-backports main restricted universe multiverse
5858
5959
EOF
6060
# clean any archive if exits
61-
apt clean
61+
apt-get clean
6262

6363
}
6464

.github/scripts/build-jammy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ deb $MIRROR $SUITE-backports main restricted universe multiverse
5858
5959
EOF
6060
# clean any archive if exits
61-
apt clean
61+
apt-get clean
6262

6363
}
6464

.github/workflows/build-udroid.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: docker/[email protected]
1717

1818
- name: Satify Dependencies
19-
run: sudo apt update; sudo apt install git build-essential binfmt-support qemu-user-static debootstrap -y
19+
run: sudo apt-get update; sudo apt-get install git build-essential binfmt-support qemu-user-static debootstrap -y
2020

2121
- name: Trigger fs-cook
2222
run: sudo bash .github/scripts/build-impish.sh
@@ -50,7 +50,7 @@ jobs:
5050
uses: docker/[email protected]
5151

5252
- name: Satify Dependencies
53-
run: sudo apt update; sudo apt install git build-essential binfmt-support qemu-user-static debootstrap -y
53+
run: sudo apt-get update; sudo apt-get install git build-essential binfmt-support qemu-user-static debootstrap -y
5454

5555
- name: Trigger fs-cook
5656
run: sudo bash .github/scripts/build-hirsute.sh
@@ -83,7 +83,7 @@ jobs:
8383
uses: docker/[email protected]
8484

8585
- name: Satify Dependencies
86-
run: sudo apt update; sudo apt install git build-essential binfmt-support qemu-user-static debootstrap -y
86+
run: sudo apt-get update; sudo apt-get install git build-essential binfmt-support qemu-user-static debootstrap -y
8787

8888
- name: Trigger fs-cook
8989
run: sudo bash .github/scripts/build-jammy.sh

plugins/envsetup

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -445,9 +445,9 @@ run_cmd() {
445445
install_pkg()
446446
{
447447
pkg_name="$*"
448-
run_cmd "apt update"
449-
run_cmd "apt install -y $pkg_name" || warn "Couldn't install $pkg_name"
450-
run_cmd "apt clean"
448+
run_cmd "apt-get update"
449+
run_cmd "apt-get install -y $pkg_name" || warn "Couldn't install $pkg_name"
450+
run_cmd "apt-get clean"
451451
}
452452

453453
banner

0 commit comments

Comments
 (0)