summaryrefslogtreecommitdiff
path: root/archPackagesUpdate
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-12-18 23:55:58 +0100
committerErich Eckner <git@eckner.net>2021-12-18 23:57:23 +0100
commit1dd3cee86e5018f6d45b3a23e50df5fe38ac0b9c (patch)
treef91596dae6945515c9aa1d72831bfe2bffc9e506 /archPackagesUpdate
parent9c51d63a133bdcc4dd21c3d44c4e59b0c0b5df1c (diff)
downloadarchlinuxewe-1dd3cee86e5018f6d45b3a23e50df5fe38ac0b9c.tar.xz
archPackagesUpdate: --force should override version check, too
Diffstat (limited to 'archPackagesUpdate')
-rwxr-xr-xarchPackagesUpdate3
1 files changed, 2 insertions, 1 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index e7435c552..af96d5989 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -421,7 +421,8 @@ for paket in $( \
"${pkgFile_a} ${pkgFile_b}" \
| sort -k2,2 -k1V,1 \
| uniq -df1 \
- | grep -qxF "${pkgFile_a} ${pkgFile_b}"; then
+ | grep -qxF "${pkgFile_a} ${pkgFile_b}" \
+ && ! ${force}; then
continue
fi
printf '%s\n' "${singleArch}"