about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xxpkgdiff2
1 files changed, 1 insertions, 1 deletions
diff --git a/xpkgdiff b/xpkgdiff
index 4503892..d2acf8b 100755
--- a/xpkgdiff
+++ b/xpkgdiff
@@ -57,7 +57,7 @@ REPO="
 
 pkg="$1"
 
-if xbps-query $pkg >/dev/null; then
+if xbps-query -R $pkg >/dev/null; then
 	xbps-query -R $QUERY $pkg | $SORT > "$TMPDIR/${pkg}.repo"
 else
 	echo "Package '$pkg' not found in repositories" > "$TMPDIR/${pkg}.repo"