From 0dd4d098a6a6ae1f93027a3a83b8d496072f00e5 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 5 Apr 2021 22:04:59 +0200 Subject: archPackagesUpdate: silence broken pipe --- archPackagesUpdate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archPackagesUpdate') diff --git a/archPackagesUpdate b/archPackagesUpdate index 1c41406b1..e4da648db 100755 --- a/archPackagesUpdate +++ b/archPackagesUpdate @@ -410,7 +410,7 @@ for paket in $( \ pkgFile="${pkgnam}-${epoch:+${epoch}:}${pkgver}-${pkgrel}-${singleArch}.pkg.tar.zst" if ! printf '%s\n' "${available_packages}" \ - | grep -qxF "${repo}/${singleArch}/${pkgFile}"; then + | grep -qxF "${repo}/${singleArch}/${pkgFile}" 2>/dev/null; then printf '%s\n' "${singleArch}" fi -- cgit v1.2.3-70-g09d2