From 5447867ea4a5ad6e7780a852cff635389c362bef Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 7 Aug 2019 18:54:22 +0200 Subject: bin/get-package-updates: lib32-* should always be deleted --- bin/get-package-updates | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bin/get-package-updates') diff --git a/bin/get-package-updates b/bin/get-package-updates index 4640a60..69a227a 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -486,9 +486,15 @@ if [ -s "${tmp_dir}/modified-packages" ] || ! ${pull}; then if [ -s "${tmp_dir}/modified-packages" ]; then sort -k2,2 | \ join -1 1 -2 2 -o 2.1,2.2 "${tmp_dir}/modified-packages" - + sed ' + /^lib32-/ s/^/any / + t + d + ' "${tmp_dir}/modified-packages" else cat fi | \ + sort -u | \ while read -r arch pkgbase; do delete_package "${arch}" "${pkgbase}" done -- cgit v1.2.3-70-g09d2