Package: system-tools-backends
Version: 2.6.0-1
Severity: normal
Tags: patch
Forwarded: http://bugzilla.gnome.org/show_bug.cgi?id=541058
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu intrepid ubuntu-patch

Hi,

Attached is a patch from Steve Langasek to copy /etc/localtime
in case /usr is on a separate partition. Please consider applying
it.

Thanks,

James

--- system-tools-backends-2.6.0.orig/Time/TimeDate.pm
+++ system-tools-backends-2.6.0/Time/TimeDate.pm
@@ -144,7 +144,7 @@
     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;

Reply via email to