Skip to content

Commit 22eb5a2

Browse files
committed
tweak: apk --print-arch
Update qbt-nox-static.bash docs docs
1 parent f6e9f3a commit 22eb5a2

File tree

4 files changed

+130
-360
lines changed

4 files changed

+130
-360
lines changed

docs/package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"astro": "astro"
1111
},
1212
"dependencies": {
13-
"@astrojs/starlight": "^0.34.4",
13+
"@astrojs/starlight": "^0.35.0",
1414
"@expressive-code/plugin-collapsible-sections": "^0.41.1",
15-
"astro": "^5.10.1",
15+
"astro": "^5.11.2",
1616
"gray-matter": "^4.0.3",
1717
"sharp": "^0.32.5",
1818
"starlight-image-zoom": "^0.9.0"

qbittorrent-nox-static.sh

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ os_version_id="$(get_os_info VERSION_ID)"
105105
if [[ "${os_id}" =~ ^(debian|ubuntu)$ ]]; then
106106
os_arch="$(dpkg --print-architecture)"
107107
elif [[ "${os_id}" =~ ^(alpine)$ ]]; then
108-
os_arch="$(apk info --print-arch)"
108+
os_arch="$(apk --print-arch)"
109109
fi
110110

111111
# Check against allowed codenames or if the codename is alpine version greater than 3.10
@@ -1003,7 +1003,7 @@ _set_module_urls() {
10031003
# Configure the source_archive_url associative array for all the applications this script uses and we call them as ${source_archive_url[app_name]}
10041004
##########################################################################################################################################################
10051005
if [[ "${os_id}" =~ ^(debian|ubuntu)$ ]]; then
1006-
source_archive_url[cmake_ninja]="https://github.com/userdocs/qbt-cmake-ninja-crossbuilds/releases/latest/download/${os_id}-${os_version_codename}-cmake-$(dpkg --print-architecture).tar.xz"
1006+
source_archive_url[cmake_ninja]="https://github.com/userdocs/qbt-cmake-ninja-crossbuilds/releases/latest/download/${os_id}-${os_version_codename}-cmake-${os_arch}.tar.xz"
10071007
source_archive_url[glibc]="https://ftpmirror.gnu.org/gnu/libc/${github_tag[glibc]}.tar.xz"
10081008
fi
10091009
source_archive_url[zlib]="https://github.com/zlib-ng/zlib-ng/archive/refs/heads/develop.tar.gz"

0 commit comments

Comments
 (0)