Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/repo-add
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/repo-add')
-rwxr-xr-xscripts/repo-add2
1 files changed, 1 insertions, 1 deletions
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'"