From 4a5e7b6bd1a887f67b9b9ec8115250fc92c741ca Mon Sep 17 00:00:00 2001 From: Roman Kyrylych Date: Wed, 31 Oct 2007 18:41:17 +0200 Subject: Add support for arch='any' Signed-off-by: Roman Kyrylych Signed-off-by: Dan McGee --- scripts/updatesync.sh.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/updatesync.sh.in') 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 -- cgit v1.2.3-54-g00ecf