index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2007-03-30 03:33:19 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-03-30 03:33:19 +0000 |
commit | a0f8f03056e0611bcedb9505ea7753830171d499 (patch) | |
tree | 92aae1526b6e2f35b92230e68f0579716ce3b5e3 /scripts/repo-add | |
parent | 1e859c647f84f162aca282907953b5bf5948021f (diff) |
-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'" |