photoqt: 4.6 -> 4.7 (#361171)
[NixPkgs.git] / pkgs / desktops / pantheon / apps / switchboard-plugs / datetime / fix-paths.patch
blob784ea9daa0b7b63f568b1d7047ac17b8b6d6645f
1 diff --git a/src/Parser.vala b/src/Parser.vala
2 index 7c7b82d..2c3a061 100644
3 --- a/src/Parser.vala
4 +++ b/src/Parser.vala
5 @@ -28,9 +28,9 @@ public class DateTime.Parser : GLib.Object {
6 return parser;
8 private Parser () {
9 - var file = File.new_for_path ("/usr/share/zoneinfo/zone.tab");
10 + var file = File.new_for_path ("@tzdata@/share/zoneinfo/zone.tab");
11 if (!file.query_exists ()) {
12 - critical ("/usr/share/zoneinfo/zone.tab doesn't exist !");
13 + critical ("@tzdata@/share/zoneinfo/zone.tab doesn't exist !");
14 return;