index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Cedric Staniewski <cedric@gmx.ca> | 2009-05-12 10:59:34 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-10-11 16:34:47 -0500 |
commit | c7d8601e125de432f185c146c84333ca7d920d9a (patch) | |
tree | 231516cf6b3179f4b0e7ff703dbd1b37d9a0c1e0 /scripts/repo-add.sh.in | |
parent | ab3c6f01f5c884233f718e7f7d5c32b2fdf4ff73 (diff) |
-rw-r--r-- | scripts/repo-add.sh.in | 2 |
diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in index bcbd3b37..2a62d2ba 100644 --- a/scripts/repo-add.sh.in +++ b/scripts/repo-add.sh.in @@ -357,7 +357,7 @@ add() fi pkgfile=$1 - if ! bsdtar -tqf "$pkgfile" .PKGINFO 2>&1 >/dev/null; then + if ! bsdtar -tqf "$pkgfile" .PKGINFO >/dev/null 2>&1; then error "$(gettext "'%s' is not a package file, skipping")" "$pkgfile" return 1 fi |