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

r2189 - tzdata/trunk/debian



Author: aurel32
Date: 2007-05-06 21:22:34 +0000 (Sun, 06 May 2007)
New Revision: 2189

Modified:
   tzdata/trunk/debian/changelog
   tzdata/trunk/debian/postinst
Log:
  * debian/postinst: also set LC_ALL=C in sub-shells (closes: bug#422551).



Modified: tzdata/trunk/debian/changelog
===================================================================
--- tzdata/trunk/debian/changelog	2007-05-06 11:53:12 UTC (rev 2188)
+++ tzdata/trunk/debian/changelog	2007-05-06 21:22:34 UTC (rev 2189)
@@ -4,12 +4,13 @@
     bug#422429).
   * New Croatian debconf translation, by Josip Rodin (closes:
     bug#422434).
-  * New Hungarian debconf translation, by Attila Szervác (closes: 
+  * New Hungarian debconf translation, by Attila Szervác (closes:
     bug#422458).
   * New Japanese debconf translation, by Kenshi Muto (closes:
     bug#422460).
+  * debian/postinst: also set LC_ALL=C in sub-shells (closes: bug#422551).
 
- -- Aurelien Jarno <aurel32@debian.org>  Sun, 06 May 2007 13:52:51 +0200
+ -- Aurelien Jarno <aurel32@debian.org>  Sun, 06 May 2007 23:21:27 +0200
 
 tzdata (2007e-7) unstable; urgency=low
 

Modified: tzdata/trunk/debian/postinst
===================================================================
--- tzdata/trunk/debian/postinst	2007-05-06 11:53:12 UTC (rev 2188)
+++ tzdata/trunk/debian/postinst	2007-05-06 21:22:34 UTC (rev 2189)
@@ -34,9 +34,9 @@
     fi
 
     # Show the new setting to the user
-    TZBase=$(TZ=UTC0 date)
-    UTdate=$(TZ=UTC0 date -d "$TZBase")
-    TZdate=$(date -d "$TZBase")
+    TZBase=$(LC_ALL=C TZ=UTC0 date)
+    UTdate=$(LC_ALL=C TZ=UTC0 date -d "$TZBase")
+    TZdate=$(unset TZ ; LANG=C date -d "$TZBase")
     echo "Local time is now:      $TZdate."
     echo "Universal Time is now:  $UTdate."
     echo "Run 'dpkg-reconfigure tzdata' if you wish to change it."



Reply to: