diff options
author | classabbyamp <dev@kb6.ee> | 2022-03-31 14:11:54 -0400 |
---|---|---|
committer | Toyam Cox <aviator45003@gmail.com> | 2022-03-31 14:36:10 -0400 |
commit | c68bde5b9436d2608098ecc98afb9cde84467bd4 (patch) | |
tree | 9f8fe0eeb514ae42cff1e7ca5e7672336ab30243 | |
parent | df3d395e1309aec0948ce6a364d92aba6cdc26bf (diff) | |
download | xtools-c68bde5b9436d2608098ecc98afb9cde84467bd4.tar.gz xtools-c68bde5b9436d2608098ecc98afb9cde84467bd4.tar.xz xtools-c68bde5b9436d2608098ecc98afb9cde84467bd4.zip |
xpkgdiff: fix check for package existence
-rwxr-xr-x | xpkgdiff | 2 |
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" |