[Piuparts-commits] [piuparts] 05/09: reinstall affected packages after purging localepurge

Holger Levsen holger at moszumanska.debian.org
Mon Feb 10 13:03:04 UTC 2014


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

holger pushed a commit to branch develop
in repository piuparts.

commit 4978543decf771d8fc83df6c2ee12d793b53e754
Author: Andreas Beckmann <anbe at debian.org>
Date:   Mon Feb 10 03:10:07 2014 +0100

    reinstall affected packages after purging localepurge
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
 custom-scripts/scripts/post_purge_exceptions | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/custom-scripts/scripts/post_purge_exceptions b/custom-scripts/scripts/post_purge_exceptions
index 58fd276..43e97c6 100755
--- a/custom-scripts/scripts/post_purge_exceptions
+++ b/custom-scripts/scripts/post_purge_exceptions
@@ -34,4 +34,15 @@ case ${PIUPARTS_OBJECTS%%=*} in
 		log_debug
 		sed -i '3{/^$/d}' /etc/ld.so.conf
 		;;
+	localepurge)
+		case ${PIUPARTS_DISTRIBUTION} in
+			lenny*|squeeze*) ;;
+			*)
+				# 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
+				;;
+		esac
+		;;
 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