index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | scripts/repo-add | 2 |
diff --git a/scripts/repo-add b/scripts/repo-add index d6e2c5ae..dc280161 100755 --- a/scripts/repo-add +++ b/scripts/repo-add @@ -246,7 +246,7 @@ if [ $# -gt 1 ]; then fi else if [ -f "$arg" ]; then - if ! tar xf "$arg" .PKGINFO 2>&1 >/dev/null; then + if ! tar tf "$arg" .PKGINFO 2>&1 >/dev/null; then echo "error: '$arg' is not a package file, skipping" else echo ":: adding package '$arg'" |