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

This commit is contained in:
zry98 2023-10-25 23:25:23 +02:00 committed by Jonas Vautherin
parent 9eb419cf6b
commit ae06c00377

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"