index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Roman Kyrylych <roman@archlinux.org> | 2007-10-31 18:41:17 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-11-04 09:50:04 -0600 |
commit | 4a5e7b6bd1a887f67b9b9ec8115250fc92c741ca (patch) | |
tree | 096894960845a62a9a4bdff005e682c6803ff445 /scripts/updatesync.sh.in | |
parent | 0ea43089e1b95bd7b4e25ca170e155295f2b2b2d (diff) |
-rw-r--r-- | scripts/updatesync.sh.in | 3 |
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 |