summaryrefslogtreecommitdiff
path: root/archPackagesUpdate
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-04-05 22:04:59 +0200
committerErich Eckner <git@eckner.net>2021-04-05 22:04:59 +0200
commit0dd4d098a6a6ae1f93027a3a83b8d496072f00e5 (patch)
tree67faa384e6c9da3cbde5b790ed610f9904a43bcb /archPackagesUpdate
parent8e9cc260792891ac1e53783f17053fea529d7fd0 (diff)
downloadarchlinuxewe-0dd4d098a6a6ae1f93027a3a83b8d496072f00e5.tar.xz
archPackagesUpdate: silence broken pipe
Diffstat (limited to 'archPackagesUpdate')
-rwxr-xr-xarchPackagesUpdate2
1 files changed, 1 insertions, 1 deletions
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