Skip to content

Commit

Permalink
feat: download architecture-specific software
Browse files Browse the repository at this point in the history
skip assumption that it’s `x86`

Signed-off-by: Lucas Larson <[email protected]>
  • Loading branch information
LucasLarson committed May 11, 2024
1 parent ff2a866 commit 558f506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ command -v -- apk >/dev/null 2>&1 || {
command -p -- printf -- 'verifying apk tools integrity...\n' >&2
set -o xtrace
# https://web.archive.org/web/20201127045648id_/github.com/ish-app/ish/wiki/Installing-apk-on-the-App-Store-Version#wiki-body
command wget --output-document=- -- 'https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86/apk-tools-static-2.12.9-r3.apk' |
command wget --output-document=- -- 'https://dl-cdn.alpinelinux.org/alpine/v3.16/main/'"$(command -p -- uname -m)"'/apk-tools-static-2.12.9-r3.apk' |
command tar --extract --gzip --strip-components=1 --verbose -- sbin/apk.static &&
./apk.static add apk-tools &&
command -p -- rm -- ./apk.static
Expand Down

0 comments on commit 558f506

Please sign in to comment.