updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / supertux-editor / supertux-editor-datadir.patch
blob41b0ebcf745fdc3e38c3dd0fbb67a3896bf6f0d0
1 --- Settings.cs 2011-09-13 17:45:50.706897029 +0200
2 +++ Settings.cs.new 2011-09-13 17:39:27.555639405 +0200
3 @@ -49,7 +49,7 @@
5 if (!supertuxdatadir_cached)
7 - supertuxdatadir = GuessDataDir();
8 + supertuxdatadir = "/usr/share/games/supertux2";
9 supertuxdatadir_cached = true;
11 return supertuxdatadir;
12 @@ -200,7 +200,7 @@
13 String supertux_datadir_best = null;
14 while (!String.IsNullOrEmpty(supertux_datadir = supertux_process.StandardOutput.ReadLine())) {
15 if(System.IO.Path.IsPathRooted(supertux_datadir)) {
16 - supertux_datadir_best = supertux_datadir;
17 + supertux_datadir_best = "/usr/share/games/supertux2";