index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Tasos Sahanidis <tasos@tasossah.com> | 2024-05-11 10:34:11 +0300 |
---|---|---|
committer | Tasos Sahanidis <tasos@tasossah.com> | 2024-05-11 10:34:11 +0300 |
commit | cf97e307a64e5a74014b7a405f592379eeca31b6 (patch) | |
tree | e6475ffeb8d32e679b4f27b85e9166cc672791e0 | |
parent | 0b8ed5444e6bd243222170139ae4a8dfffef797b (diff) |
-rwxr-xr-x | extra/python-xcffib/xcffibgen-custom | 7 |
diff --git a/extra/python-xcffib/xcffibgen-custom b/extra/python-xcffib/xcffibgen-custom index 69f70760..9e23f120 100755 --- a/extra/python-xcffib/xcffibgen-custom +++ b/extra/python-xcffib/xcffibgen-custom @@ -1,7 +1,8 @@ #!/usr/bin/env -S bash -x mirror='http://ftp.otenet.gr/linux/archlinux' -version="$1" +# Strip arch32 specific part of the version string +version="${1%.*}" shift while [[ $# -gt 0 ]]; do @@ -16,8 +17,8 @@ while [[ $# -gt 0 ]]; do fi done -curl -O "${mirror}/extra/os/x86_64/python-xcffib-${version}-any.pkg.tar.zst" -curl -O "${mirror}/extra/os/x86_64/python-xcffib-${version}-any.pkg.tar.zst.sig" +curl --fail -O "${mirror}/extra/os/x86_64/python-xcffib-${version}-any.pkg.tar.zst" +curl --fail -O "${mirror}/extra/os/x86_64/python-xcffib-${version}-any.pkg.tar.zst.sig" if pacman-key -v "python-xcffib-${version}-any.pkg.tar.zst.sig" "python-xcffib-${version}-any.pkg.tar.zst"; then tar -xf "python-xcffib-${version}-any.pkg.tar.zst" |