[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: lh_chroot_localization: icedove-locale-* breaks Squeeze build



hi again,

intrigeri wrote (28 Nov 2009 22:10:54 GMT) :
> the icedove-locale-* transitional packages have been removed from
> Squeeze, so lh_chroot_localization should install the icedove-l10n-*
> packages on >=squeeze instead. LH_DISTRIBUTION must probably be tested
> in case --distribution etch must still be supported, as these new
> packages names were not in etch.

please find, attached, a patch against current Git "debian" branch
that fixes this.

bye,
-- 
  intrigeri <intrigeri@boum.org>
  | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr-fingerprint.asc
  | Who wants a world in which the guarantee that we shall not
  | die of starvation would entail the risk of dying of boredom ?

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)

Reply to: