[Piuparts-commits] [piuparts] 05/10: improve workarounds for localepurge

Holger Levsen holger at layer-acht.org
Sun May 1 11:55:55 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit 90c8daa4c2eb35c4dcd32b9df28c069352397718
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sun May 1 09:39:10 2016 +0200

    improve workarounds for localepurge
    
    catch packages with localized manpages, too
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
 .../scripts-no-usr-share-doc/post_setup_disable_usr_share_doc         | 4 ++--
 custom-scripts/scripts/post_purge_exceptions                          | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/custom-scripts/scripts-no-usr-share-doc/post_setup_disable_usr_share_doc b/custom-scripts/scripts-no-usr-share-doc/post_setup_disable_usr_share_doc
index 27f9c22..420f2af 100755
--- a/custom-scripts/scripts-no-usr-share-doc/post_setup_disable_usr_share_doc
+++ b/custom-scripts/scripts-no-usr-share-doc/post_setup_disable_usr_share_doc
@@ -41,8 +41,8 @@ case ${PIUPARTS_OBJECTS%%=*} in
 				# reinstall packages that will be reinstalled after purge
 				# to not record their /usr/share/doc content that is about to disappear
 				log_debug
-				EXTRA="base-passwd"
-				apt-get -u --reinstall --fix-missing install $(dpkg -S LC_MESSAGES | cut -d: -f1 | tr ', ' '\n' | sort -u) $EXTRA
+				EXTRA=""
+				apt-get -u --reinstall --fix-missing install $(dpkg -S LC_MESSAGES 'man/??/man' | cut -d: -f1 | tr ', ' '\n' | sort -u) $EXTRA
 				;;
 		esac
 		;;
diff --git a/custom-scripts/scripts/post_purge_exceptions b/custom-scripts/scripts/post_purge_exceptions
index 695edbd..7e6fb5e 100755
--- a/custom-scripts/scripts/post_purge_exceptions
+++ b/custom-scripts/scripts/post_purge_exceptions
@@ -24,8 +24,8 @@ case ${PIUPARTS_OBJECTS%%=*} in
 			*)
 				# reinstall packages where files might have been dropped
 				log_debug
-				EXTRA="base-passwd"
-				apt-get -u --reinstall --fix-missing install $(dpkg -S LC_MESSAGES | cut -d: -f1 | tr ', ' '\n' | sort -u) $EXTRA
+				EXTRA=""
+				apt-get -u --reinstall --fix-missing install $(dpkg -S LC_MESSAGES 'man/??/man' | cut -d: -f1 | tr ', ' '\n' | sort -u) $EXTRA
 				;;
 		esac
 		;;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list