index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-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" |