index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2008-01-13 12:27:17 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-13 12:27:17 -0600 |
commit | 521de7ceedc6e4f5df52c0380f536a6f13a7f578 (patch) | |
tree | 1b6d86158a19b3156c23cb81ee90f291ca85f9b3 /scripts/updatesync.sh.in | |
parent | 4f267017936471c8248a85f8d86aabb96e66c7e8 (diff) | |
parent | bbe02ec57fd56670dfe0bc08d981ce8a1aa31370 (diff) |
-rw-r--r-- | scripts/updatesync.sh.in | 4 |
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 |