[Debian-hebrew-package] r591 - in /pkg/user-he/trunk: debian/changelog scripts/hebrew-settings

baruch at users.alioth.debian.org baruch at users.alioth.debian.org
Mon Jun 18 13:33:25 UTC 2007


Author: baruch
Date: Mon Jun 18 13:33:25 2007
New Revision: 591

URL: http://svn.debian.org/wsvn/debian-hebrew/?sc=1&rev=591
Log:
Set timezone data by preseeding tzdata, base-config was deprecated after Sarge

Modified:
    pkg/user-he/trunk/debian/changelog
    pkg/user-he/trunk/scripts/hebrew-settings

Modified: pkg/user-he/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/user-he/trunk/debian/changelog?rev=591&op=diff
==============================================================================
--- pkg/user-he/trunk/debian/changelog (original)
+++ pkg/user-he/trunk/debian/changelog Mon Jun 18 13:33:25 2007
@@ -2,6 +2,7 @@
 
   * Move manpage into the scripts directory, small cleanups to makefile
   * Don't touch the user setting for keeping the timezone in utc or not
+  * Switch to setting tzdata of Etch
 
  -- Baruch Even <baruch at debian.org>  Mon, 18 Jun 2007 13:52:39 +0100
 

Modified: pkg/user-he/trunk/scripts/hebrew-settings
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/user-he/trunk/scripts/hebrew-settings?rev=591&op=diff
==============================================================================
--- pkg/user-he/trunk/scripts/hebrew-settings (original)
+++ pkg/user-he/trunk/scripts/hebrew-settings Mon Jun 18 13:33:25 2007
@@ -45,17 +45,15 @@
 if [ -f /usr/share/zoneinfo/Asia/Jerusalem ]; then
 	if [[ $timezone == 1 ]]; then
 		debconf-set-selections << __END__
-		# tzconfig preseed
-		base-config tzconfig/geographic_area select Asia
-		base-config tzconfig/select_zone/Asia select Jerusalem
-__END__
-
-		rm -f /etc/localtime
-		ln -s /usr/share/zoneinfo/Asia/Jerusalem /etc/localtime
+		# timezone config preseed
+		tzdata tzdata/Areas Asia
+		tzdata tzdata/Zones/Asia Jerusalem
+__END__
+
+		sh /var/lib/dpkg/info/tzdata.postinst configure
 		echo "Done."
 	else
 		echo "Unchanged."
-	fi
 else
 	echo "Not installed."
 fi




More information about the Debian-hebrew-package mailing list