r1925 - tzdata/trunk/debian
Author: aurel32
Date: 2007-02-02 22:41:33 +0100 (Fri, 02 Feb 2007)
New Revision: 1925
Modified:
tzdata/trunk/debian/changelog
tzdata/trunk/debian/control
tzdata/trunk/debian/postinst
Log:
* Make tzdata an Essential package.
* Fix postinst script with broken /etc/localtime file (closes: bug#409419).
Modified: tzdata/trunk/debian/changelog
===================================================================
--- tzdata/trunk/debian/changelog 2007-02-02 21:22:27 UTC (rev 1924)
+++ tzdata/trunk/debian/changelog 2007-02-02 21:41:33 UTC (rev 1925)
@@ -1,3 +1,10 @@
+tzdata (2007a-3) unstable; urgency=low
+
+ * Make tzdata an Essential package.
+ * Fix postinst script with broken /etc/localtime file (closes: bug#409419).
+
+ -- Aurelien Jarno <aurel32@debian.org> Fri, 2 Feb 2007 22:37:36 +0100
+
tzdata (2007a-2) unstable; urgency=low
* Generate and ship /usr/share/zoneinfo/posixrules (closes: bug#409275).
Modified: tzdata/trunk/debian/control
===================================================================
--- tzdata/trunk/debian/control 2007-02-02 21:22:27 UTC (rev 1924)
+++ tzdata/trunk/debian/control 2007-02-02 21:41:33 UTC (rev 1925)
@@ -1,5 +1,6 @@
Source: tzdata
Section: libs
+Essential: yes
Priority: required
Build-Depends: debhelper (>= 4.0.0)
Build-Depends-Indep: quilt
Modified: tzdata/trunk/debian/postinst
===================================================================
--- tzdata/trunk/debian/postinst 2007-02-02 21:22:27 UTC (rev 1924)
+++ tzdata/trunk/debian/postinst 2007-02-02 21:41:33 UTC (rev 1925)
@@ -50,7 +50,7 @@
if [ "$type" = "configure" ]
then
if [ -f /etc/timezone ]; then
- timezone=$(cat /etc/timezone)
+ timezone=$(head -n 1 /etc/timezone | sed -e "s/ .*//")
else
timezone=Factory
fi
Reply to: