From bbe02ec57fd56670dfe0bc08d981ce8a1aa31370 Mon Sep 17 00:00:00 2001 From: Travis Willard Date: Sun, 13 Jan 2008 07:42:40 -0500 Subject: Update Gensync and Updatesync to use new PKGEXT variable Previously, this caused both scripts to look for pkgname-pkgver-pkgrel-arch..pkg.tar.gz - extra period has been removed. Fixes FS#9190. Signed-off-by: Travis Willard Signed-off-by: Dan McGee --- scripts/updatesync.sh.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/updatesync.sh.in') diff --git a/scripts/updatesync.sh.in b/scripts/updatesync.sh.in index 2e47ac94..900f11f3 100644 --- a/scripts/updatesync.sh.in +++ b/scripts/updatesync.sh.in @@ -127,10 +127,10 @@ if [ "$action" = "upd" ]; then # INSERT / UPDATE if [ "$arch" = 'any' ]; then CARCH='any' fi - pkgfile="$pkgdir/$pkgname-$pkgver-$pkgrel-$CARCH.$PKGEXT" + pkgfile="$pkgdir/$pkgname-$pkgver-$pkgrel-${CARCH}${PKGEXT}" if [ ! -f "$pkgfile" ]; then - die "$(gettext "could not find %s-%s-%s-%s.%s - aborting")" $pkgname $pkgver $pkgrel $CARCH $PKGEXT + die "$(gettext "could not find %s-%s-%s-%s%s - aborting")" $pkgname $pkgver $pkgrel $CARCH $PKGEXT fi if check_force; then -- cgit v1.2.3-54-g00ecf