diff options
author | Steve Langasek <steve.langasek@ubuntu.com> | 2009-08-19 10:46:00 +0200 |
---|---|---|
committer | Milan Bouchet-Valat <nalimilan@club.fr> | 2009-08-19 10:46:00 +0200 |
commit | ef56d32ecfb3878733a84308bc17bb410f3a879c (patch) | |
tree | aa0a89146b5c81cf08c873e3e5499e5ad15aa881 | |
parent | d3ce5e5f0f210a2f9c868526257a0e1444f504a2 (diff) |
Bug 541058 - Copy timezone to /etc/localtime instead of symlinking
This allows us to support /etc/ and /usr/ on sepearate partitions. Concern is that packaging tools should now always update /etc/localtime if they update the timezone data; else, data may get outdated.
-rw-r--r-- | Time/TimeDate.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Time/TimeDate.pm b/Time/TimeDate.pm index 195bc06..19c5364 100644 --- a/Time/TimeDate.pm +++ b/Time/TimeDate.pm @@ -144,7 +144,7 @@ sub set_timezone unlink $localtime; # Important, since it might be a symlink. &Utils::Report::enter (); - $res = symlink ($tz, $localtime); + $res = copy ($tz, $localtime); &Utils::Report::leave (); return -1 unless $res; return 0; |