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

r3276 - in glibc-package/trunk/debian: . debhelper.in



Author: aurel32
Date: 2009-02-15 22:34:20 +0000 (Sun, 15 Feb 2009)
New Revision: 3276

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/debhelper.in/locales.postinst
Log:
  * debhelper.in/locales.postinst: make sure /etc/default/locale is always
    created.  Closes: bug#515099.



Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2009-02-15 22:23:56 UTC (rev 3275)
+++ glibc-package/trunk/debian/changelog	2009-02-15 22:34:20 UTC (rev 3276)
@@ -67,6 +67,8 @@
     localized.
   * debian/rules: remove *.mo file in the clean target.
   * sysdeps/alpha.mk, control.in/main: use gcc-4.3 on alpha.
+  * debhelper.in/locales.postinst: make sure /etc/default/locale is always
+    created.  Closes: bug#515099.
 
   [ Clint Adams ]
   * patches/any/cvs-bz697-posix-regexec.diff: regex fix from Paolo Bonzini.
@@ -116,7 +118,7 @@
   * hurd-i386/submitted-stat.diff: clean up patch.
   * hurd-i386/submitted-itimer-lock.diff: new patch fixing itimer unlocking.
 
- -- Aurelien Jarno <aurel32@debian.org>  Tue, 10 Feb 2009 23:02:33 +0100
+ -- Aurelien Jarno <aurel32@debian.org>  Sun, 15 Feb 2009 23:32:28 +0100
 
 glibc (2.8+20080809-3) experimental; urgency=low
 

Modified: glibc-package/trunk/debian/debhelper.in/locales.postinst
===================================================================
--- glibc-package/trunk/debian/debhelper.in/locales.postinst	2009-02-15 22:23:56 UTC (rev 3275)
+++ glibc-package/trunk/debian/debhelper.in/locales.postinst	2009-02-15 22:34:20 UTC (rev 3276)
@@ -65,11 +65,10 @@
     fi
 
     if ! [ -e $EE ] || [ -n "$DEBCONF_RECONFIGURE" ] ; then
+        # Remove previous definitions
+        update-locale --no-checks LANG
+
         # Set default LANG environment variable
-        if [ -e $EE ]; then
-            # Remove previous definitions
-            update-locale --no-checks LANG
-        fi
         if [ -n "$DEFAULT_ENVIRONMENT" ] && [ "$DEFAULT_ENVIRONMENT" != "None" ]; then
             update-locale "LANG=$DEFAULT_ENVIRONMENT"
         fi


Reply to: