summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-04-05 22:08:11 +0200
committerErich Eckner <git@eckner.net>2021-04-05 22:08:11 +0200
commit07c2b5248868ca62aa200fa588d95dff72798fbe (patch)
treef8794f85462bab492c0548aa9a8a7e5c4e3360b3
parent0dd4d098a6a6ae1f93027a3a83b8d496072f00e5 (diff)
downloadarchlinuxewe-07c2b5248868ca62aa200fa588d95dff72798fbe.tar.xz
archPackagesUpdate: silence the *right* command :-D
-rwxr-xr-xarchPackagesUpdate8
1 files changed, 4 insertions, 4 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index e4da648db..b45f25b66 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -409,8 +409,8 @@ for paket in $( \
continue
pkgFile="${pkgnam}-${epoch:+${epoch}:}${pkgver}-${pkgrel}-${singleArch}.pkg.tar.zst"
- if ! printf '%s\n' "${available_packages}" \
- | grep -qxF "${repo}/${singleArch}/${pkgFile}" 2>/dev/null; then
+ if ! printf '%s\n' "${available_packages}" 2>/dev/null \
+ | grep -qxF "${repo}/${singleArch}/${pkgFile}"; then
printf '%s\n' "${singleArch}"
fi
@@ -434,9 +434,9 @@ for paket in $( \
done
if [ ${#tmpOnlyArchs[@]} -ne 0 ]; then
missing_archs=$(
- printf '%s\n' "${missing_archs}" | \
+ printf '%s\n' "${missing_archs}" 2>/dev/null | \
grep -xF "$(printf '%s\n' "${tmpOnlyArchs[@]}")"
- ) 2>/dev/null
+ )
fi
fi