Author: aurel32
Date: 2007-04-14 23:02:25 +0000 (Sat, 14 Apr 2007)
New Revision: 2066

Modified:
   tzdata/trunk/debian/config
Log:
Automatically fix the timezone from UTC to Etc/UTC


Modified: tzdata/trunk/debian/config
===================================================================
--- tzdata/trunk/debian/config  2007-04-14 18:01:04 UTC (rev 2065)
+++ tzdata/trunk/debian/config  2007-04-14 23:02:25 UTC (rev 2066)
@@ -12,6 +12,9 @@
 fi
 if ! [ -f "/usr/share/zoneinfo/$TIMEZONE" ] && [ -f /etc/timezone ] ; then
     TIMEZONE=$(head -n 1 /etc/timezone | sed -e "s/ .*//")
+    if [ "$TIMEZONE" = "UTC" ] ; then
+        TIMEZONE=Etc/UTC
+    fi
 fi
 if [ -f "/usr/share/zoneinfo/$TIMEZONE" ] ; then
     AREA=$(echo $TIMEZONE | sed 's%/.*$%%')


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to