mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-22 16:24:27 +01:00
install-gosu-binary: fix arch detection to match gosu releases arch naming
This commit is contained in:
parent
9eb419cf6b
commit
ae06c00377
@ -14,7 +14,7 @@ if ! command -v gpg &> /dev/null; then
|
||||
fi
|
||||
|
||||
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_key="https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-${dpkgArch}.asc"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user