Fix build for non-x86 archtectures (By paleozogt) and update GOSU to 1.14

Fix build for non-x86 archtectures (By paleozogt) and update GOSU to 1.14

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
Bensuperpc 2022-04-25 09:45:36 +02:00
parent 7e72803aa4
commit 7b16d801fb

View File

@ -13,8 +13,8 @@ if ! command -v gpg &> /dev/null; then
exit 1
fi
GOSU_VERSION=1.12
dpkgArch=$(if test "$(uname -m)" = "x86_64"; then echo amd64; else echo i386; fi)
GOSU_VERSION=1.14
dpkgArch=$(dpkg --print-architecture)
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"