1
# Description: Check /etc/timezone instead of /etc/localtime, to fix zones being misreported as some other zone.
2
# Ubuntu: https://launchpad.net/bugs/43644
3
# Upstream: http://bugzilla.gnome.org/show_bug.cgi?id=354661
4
# Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526940
5
Index: system-tools-backends-2.6.0/Time/TimeDate.pm
6
===================================================================
7
--- system-tools-backends-2.6.0.orig/Time/TimeDate.pm 2009-05-04 10:59:40.000000000 -0400
8
+++ system-tools-backends-2.6.0/Time/TimeDate.pm 2009-05-04 11:01:13.000000000 -0400
13
- ZONEINFO => "/usr/share/zoneinfo",
14
- LOCAL_TIME => "/etc/localtime"
15
+ TIMEZONE => "/etc/timezone"
19
[ "local_time", \&get_utc_time ],
20
- [ "timezone", \&get_timezone, [LOCAL_TIME, ZONEINFO] ],
21
+ [ "timezone", \&Utils::Parse::get_first_line, TIMEZONE ],