Skip to content

Commit 2e6fde5

Browse files
committed
Use apt-get over apt
apt-get seems to be recommended over apt for scripting purposes. apt is designed for humans and does not guarantee backwards compatibility. See https://manpages.debian.org/stretch/apt/apt.8.en.html
1 parent a8d3a02 commit 2e6fde5

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

sources/OpenAL/Soft.Native/build-linux-arm.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ if [[ ! -z ${GITHUB_ACTIONS+x} ]]; then
1212
exit
1313
else
1414
dpkg --add-architecture armhf
15-
apt update
16-
apt install -y \
15+
apt-get update
16+
apt-get install -y \
1717
git cmake python3 \
1818
libasound2-dev:armhf libpulse-dev:armhf libsoundio-dev:armhf libsndfile1-dev:armhf \
1919
libmysofa-dev:armhf qtbase5-dev:armhf libdbus-1-dev:armhf libjack-dev:armhf portaudio19-dev:armhf \

sources/OpenAL/Soft.Native/build-linux-arm64.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ if [[ ! -z ${GITHUB_ACTIONS+x} ]]; then
1212
exit
1313
else
1414
dpkg --add-architecture arm64
15-
apt update
16-
apt install -y \
15+
apt-get update
16+
apt-get install -y \
1717
git cmake python3 \
1818
libasound2-dev:arm64 libpulse-dev:arm64 libsoundio-dev:arm64 libsndfile1-dev:arm64 \
1919
libmysofa-dev:arm64 qtbase5-dev:arm64 libdbus-1-dev:arm64 libjack-dev:arm64 portaudio19-dev:arm64 \

sources/OpenAL/Soft.Native/build-linux-x64.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
# Dependencies
44
if [[ ! -z ${GITHUB_ACTIONS+x} ]]; then
5-
sudo apt update
6-
sudo apt install -y \
5+
sudo apt-get update
6+
sudo apt-get install -y \
77
git cmake python3 build-essential \
88
libasound2-dev:amd64 libpulse-dev:amd64 libsoundio-dev:amd64 libsndfile1-dev:amd64 \
99
libmysofa-dev:amd64 qtbase5-dev:amd64 libdbus-1-dev:amd64 libjack-dev:amd64 portaudio19-dev:amd64 \

sources/SDL/Native/build-linux-arm.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ if [[ ! -z ${GITHUB_ACTIONS+x} ]]; then
1111
$docker run --platform linux/amd64 -e SILKDOTNET_DockerBuild=1 -e GITHUB_ACTIONS=1 -v $(readlink -f ../../../):/data debian bash -c "cd /data/sources/SDL/Native && ./build-linux-arm.sh"
1212
exit
1313
else
14-
apt update
15-
apt install -y python3
14+
apt-get update
15+
apt-get install -y python3
1616
../../../eng/native/buildsystem/download-zig.py
1717
export PATH="$PATH:$(readlink -f "../../../eng/native/buildsystem/zig")"
1818

sources/SDL/Native/build-linux-arm64.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ if [[ ! -z ${GITHUB_ACTIONS+x} ]]; then
1111
$docker run --platform linux/amd64 -e SILKDOTNET_DockerBuild=1 -e GITHUB_ACTIONS=1 -v $(readlink -f ../../../):/data debian bash -c "cd /data/sources/SDL/Native && ./build-linux-arm64.sh"
1212
exit
1313
else
14-
apt update
15-
apt install -y python3
14+
apt-get update
15+
apt-get install -y python3
1616
../../../eng/native/buildsystem/download-zig.py
1717
export PATH="$PATH:$(readlink -f "../../../eng/native/buildsystem/zig")"
1818

0 commit comments

Comments
 (0)