1 diff -ur trunk/onis systemwide-patch/onis
2 --- trunk/onis 2005-04-17 15:14:57.000000000 +0200
3 +++ systemwide-patch/onis 2005-04-17 15:20:26.000000000 +0200
8 - if ($0 =~ m#^(.*)[/\\]#) { chdir ($1); }
10 - unshift (@INC, 'lib');
12 # 0x0010 Language (make not-translated lines red/yellow)
13 # 0x0020 Parser (dropped lines)
14 # 0x0040 Parser (time information)
16 print STDERR $/, __FILE__, ': $Id: onis 82 2005-04-17 13:14:57Z octo $' if ($::DEBUG);
19 -read_config (get_config ('config') ? get_config ('config') : 'onis.conf');
20 +read_config (get_config ('config') ? get_config ('config') : '/etc/onis/onis.conf');
21 read_config (scalar get_config ('theme')) if (get_config ('theme'));
23 my $output = get_config ('output');
26 - $output = "reports/onis.html";
27 + $output = "onis.html";
30 foreach ('Core', get_config ('plugin'))
31 diff -ur trunk/onis.conf systemwide-patch/onis.conf
32 --- trunk/onis.conf 2005-04-17 15:13:13.000000000 +0200
33 +++ systemwide-patch/onis.conf 2005-04-17 15:25:49.000000000 +0200
36 # Sets the directory in which the storage file(s) should be kept. This is used
37 # by ``Dbm'' and ``Storable''.
39 +storage_dir: "/var/lib/onis/";
44 # Style settings. If no theme is given this might result in a lot of very
45 # weird errors, so better set one ;)
46 # Valid themes as of onis 0.7.0: light, liner, dark
47 -theme: "themes/light.theme";
48 +theme: "/usr/share/onis/themes/light.theme";
50 # Read translations from this file.
52 # english.lang german.lang norwegian.lang spanish.lang swedish.lang
53 -language_file: "lang/english.lang";
54 +language_file: "/usr/share/onis/lang/english.lang";