From ac52cf9e0f617b6e5e69cc3510f1fcf8c5479bb7 Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Mon, 30 Nov 2009 13:47:54 +0100
Subject: Updating icedove-l10n packagename handling for post-lenny, thanks to
 intrigeri <intrigeri@boum.org>.

---
 helpers/lh_chroot_localization | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/helpers/lh_chroot_localization b/helpers/lh_chroot_localization
index 12104e7..a277f17 100755
--- a/helpers/lh_chroot_localization
+++ b/helpers/lh_chroot_localization
@@ -608,7 +608,16 @@ then
 				;;
 
 			icedove)
-				Check_installed chroot/usr/bin/icedove icedove; [ $INSTALL_STATUS -eq 0 ] && Check_package "" icedove-locale-"${ICEDOVE}"
+				Check_installed chroot/usr/bin/icedove icedove
+				if [ $INSTALL_STATUS -eq 0 ]
+				then
+					if [ "${LH_DISTRIBUTION}" = lenny ]
+					then
+						Check_package "" icedove-locale-"${ICEDOVE}"
+					else
+						Check_package "" icedove-l10n-"${ICEDOVE}"
+					fi
+				fi
 				;;
 
 			iceweasel)
-- 
cgit v1.0