updated on Mon Jan 23 00:00:36 UTC 2012
[aur-mirror.git] / tinyca2 / fix-tinyca-paths.patch
blob07ce638439c7a08f2873361f50bef320681b1098
1 --- tinyca2.orig 2010-05-04 17:03:50.572478056 +0300
2 +++ tinyca2 2010-05-04 17:35:14.065631756 +0300
3 @@ -18,7 +18,7 @@
4 # along with this program; if not, write to the Free Software
5 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
7 -BEGIN { unshift(@INC, './lib'); # put here the location of the modules
8 +BEGIN { unshift(@INC, '/usr/lib/tinyca2'); # put here the location of the modules
11 use strict;
12 @@ -46,7 +46,7 @@
13 use TCONFIG;
15 setlocale(LC_MESSAGES, "");
16 -bindtextdomain("tinyca2", "./locale/");
17 +bindtextdomain("tinyca2", "/usr/share/locale/");
18 textdomain("tinyca2");
20 # https://bugs.gentoo.org/show_bug.cgi?id=78576
21 @@ -76,7 +76,7 @@
24 # directory with the templates
25 -$init->{'templatedir'} = "./templates";
26 +$init->{'templatedir'} = "/usr/share/tinyca2/templates";
28 if(not -d $init->{'templatedir'}) {
29 print gettext("Can't find templatedir.\n");