Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/updatesync.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/updatesync.sh.in')
-rw-r--r--scripts/updatesync.sh.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/updatesync.sh.in b/scripts/updatesync.sh.in
index 7f6636cc..57bd39cb 100644
--- a/scripts/updatesync.sh.in
+++ b/scripts/updatesync.sh.in
@@ -127,6 +127,9 @@ if [ "$action" = "upd" ]; then # INSERT / UPDATE
unset pkgname pkgver pkgrel options
source $option || die "$(gettext "failed to parse %s")" $option
+ if [ "$arch" = 'any' ]; then
+ CARCH='any'
+ fi
pkgfile="$pkgdir/$pkgname-$pkgver-$pkgrel-$CARCH.$PKGEXT"
if [ ! -f "$pkgfile" ]; then