From 23cf343ae308a8f505cbc08b5ad7779c8d1b61c7 Mon Sep 17 00:00:00 2001 From: langfingaz Date: Mon, 24 May 2021 15:40:06 +0200 Subject: [PATCH] arch-reop-vercmp: supress output --- pkg/de-p1st-repo/PKGBUILD | 2 +- pkg/de-p1st-repo/arch-repo-vercmp.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/de-p1st-repo/PKGBUILD b/pkg/de-p1st-repo/PKGBUILD index d7823bc..f187303 100644 --- a/pkg/de-p1st-repo/PKGBUILD +++ b/pkg/de-p1st-repo/PKGBUILD @@ -2,7 +2,7 @@ _pkgname=repo _reponame=arch pkgname="de-p1st-$_pkgname" -pkgver=0.2.6 +pkgver=0.2.7 pkgrel=1 pkgdesc="Bash script to manage remote Arch Linux repository" arch=('any') diff --git a/pkg/de-p1st-repo/arch-repo-vercmp.sh b/pkg/de-p1st-repo/arch-repo-vercmp.sh index 0cb225e..631f9b4 100644 --- a/pkg/de-p1st-repo/arch-repo-vercmp.sh +++ b/pkg/de-p1st-repo/arch-repo-vercmp.sh @@ -47,7 +47,7 @@ function get_vcs_packages(){ while IFS= read -r PKG_VER; do PKGNAME=$(first_word "${PKG_VER}") || return $? - if echo "${PKGNAME}" | grep -E "$AURVCS"; then + if echo "${PKGNAME}" | grep -E "$AURVCS" >/dev/null; then VCS_PKGS+=("${PKGNAME}") fi done <<< "${PKG_VERS}"