The config options `bar_height' and `bar_width' have been removed from the config...
[onis.git] / contrib / systemwide-patch / systemwide-patch.diff
1 diff -ur trunk/onis systemwide-patch/onis
2 --- trunk/onis  2005-04-23 10:46:17.000000000 +0200
3 +++ systemwide-patch/onis       2005-04-23 10:47:37.000000000 +0200
4 @@ -15,10 +15,6 @@
5  
6  BEGIN
7  {
8 -       if ($0 =~ m#^(.*)[/\\]#) { chdir ($1); }
9 -
10 -       unshift (@INC, 'lib');
11 -
12         # 0x0010   Language (make not-translated lines red/yellow)
13         # 0x0020   Parser (dropped lines)
14         # 0x0040   Parser (time information)
15 @@ -72,13 +68,13 @@
16  our $PurgeLogs = 0;
17  
18  parse_argv (@ARGV);
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'));
22  
23  my $output = get_config ('output');
24  if (!$output)
25  {
26 -       $output = "reports/onis.html";
27 +       $output = "onis.html";
28  }
29  
30  foreach ('Core', get_config ('plugin'))
31 diff -ur trunk/onis.conf systemwide-patch/onis.conf
32 --- trunk/onis.conf     2005-04-23 10:41:33.000000000 +0200
33 +++ systemwide-patch/onis.conf  2005-04-23 10:47:37.000000000 +0200
34 @@ -171,9 +171,9 @@
35  # Style settings. If no theme is given this might result in a lot of very
36  # weird errors, so better set one ;)
37  # Valid themes as of onis 0.7.0: light, liner, dark
38 -theme: "themes/light.theme";
39 +theme: "/usr/share/onis/themes/light.theme";
40  
41  # Read translations from this file.
42  # One of:
43  # english.lang german.lang norwegian.lang spanish.lang swedish.lang
44 -language_file: "lang/english.lang";
45 +language_file: "/usr/share/onis/lang/english.lang";