install-gosu-binary: fix arch detection to match gosu releases arch naming

This commit is contained in:
zry98 authored and Jonas Vautherin committed 2023-10-29 23:59:28 +01:00
1 parent 9eb419cf6b
commit ae06c00377
1 file changed
+1 -1
+1 -1
View File
@@ -14,7 +14,7 @@ if ! command -v gpg &> /dev/null; then
fi fi
GOSU_VERSION=1.12 GOSU_VERSION=1.12
dpkgArch=$(if test "$(uname -m)" = "x86_64"; then echo amd64; else echo i386; fi) dpkgArch="$(dpkg --print-architecture | sed 's/.*-//')"
url="https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-${dpkgArch}" url="https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-${dpkgArch}"
url_key="https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-${dpkgArch}.asc" url_key="https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-${dpkgArch}.asc"