index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-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 |