Lines 1-18
Link Here
|
1 |
--- bin/gnump3d2.orig Tue Apr 29 06:18:15 2003 |
1 |
--- bin/gnump3d2.orig Fri May 2 15:59:42 2003 |
2 |
+++ bin/gnump3d2 Tue Apr 29 06:21:39 2003 |
2 |
+++ bin/gnump3d2 Fri May 2 16:02:49 2003 |
3 |
@@ -2234,9 +2234,9 @@ |
3 |
@@ -2457,9 +2457,9 @@ |
4 |
{ |
4 |
{ |
5 |
$CONFIG_FILE = $ENV{"HOME"} . "/.gnump3drc"; |
5 |
$CONFIG_FILE = $ENV{"HOME"} . "/.gnump3drc"; |
6 |
} |
6 |
} |
7 |
- elsif ( -e "/etc/gnump3d/gnump3d.conf" ) |
7 |
- elsif ( -e "/etc/gnump3d/gnump3d.conf" ) |
8 |
+ elsif ( -e "%%PREFIX%%/etc/gnump3d/gnump3d.conf" ) |
8 |
+ elsif ( -e "%%PREFIX%%/gnump3d/gnump3d.conf" ) |
9 |
{ |
9 |
{ |
10 |
- $CONFIG_FILE = "/etc/gnump3d/gnump3d.conf"; |
10 |
- $CONFIG_FILE = "/etc/gnump3d/gnump3d.conf"; |
11 |
+ $CONFIG_FILE = "%%PREFIX%%/etc/gnump3d/gnump3d.conf"; |
11 |
+ $CONFIG_FILE = "%%PREFIX%%/gnump3d/gnump3d.conf"; |
12 |
} |
12 |
} |
13 |
elsif ( -e "gnump3d.conf" ) |
13 |
elsif ( -e "gnump3d.conf" ) |
14 |
{ |
14 |
{ |
15 |
@@ -2371,8 +2371,8 @@ |
15 |
@@ -2599,8 +2599,8 @@ |
16 |
$PORT = getConfig( "port", 8888 ); |
16 |
$PORT = getConfig( "port", 8888 ); |
17 |
$bind_address = getConfig( "binding_host", "" ); |
17 |
$bind_address = getConfig( "binding_host", "" ); |
18 |
$host = getConfig( "hostname", "localhost" ); |
18 |
$host = getConfig( "hostname", "localhost" ); |
Lines 23-37
Link Here
|
23 |
$always_stream = getConfig( "always_stream", 1 ); |
23 |
$always_stream = getConfig( "always_stream", 1 ); |
24 |
$access_log = getConfig( "logfile", "/var/log/gnump3d/access.log" ); |
24 |
$access_log = getConfig( "logfile", "/var/log/gnump3d/access.log" ); |
25 |
$error_log = getConfig( "errorlog", "/var/log/gnump3d/error.log" ); |
25 |
$error_log = getConfig( "errorlog", "/var/log/gnump3d/error.log" ); |
26 |
@@ -2380,11 +2380,11 @@ |
26 |
@@ -2608,10 +2608,10 @@ |
27 |
$client_host = getConfig( "use_client_host", 1 ); |
27 |
$client_host = getConfig( "use_client_host", 1 ); |
28 |
$default_theme = getConfig( "theme", "default" ); |
28 |
$default_theme = getConfig( "theme", "default" ); |
29 |
$TIMEOUT = getConfig( "read_time", 10 ); |
29 |
$TIMEOUT = getConfig( "read_time", 10 ); |
30 |
- $STATSPROG = getConfig( "stats_program", "/usr/bin/gnump3d-top" ); |
30 |
- $STATSPROG = getConfig( "stats_program", "/usr/bin/gnump3d-top" ); |
31 |
+ $STATSPROG = getConfig( "stats_program", "%%PREFIX%%/bin/gnump3d-top" ); |
31 |
+ $STATSPROG = getConfig( "stats_program", "%%PREFIX%%/bin/gnump3d-top" ); |
32 |
$STATSARGS = getConfig( "stats_arguments", "" ); |
32 |
$STATSARGS = getConfig( "stats_arguments", "" ); |
33 |
$play_all = getConfig( "play_all_text", "Play All" ); |
33 |
$play_rec = getConfig( "play_recursively_text", "Play" ); |
34 |
$play_rec = getConfig( "play_recursively_text", "Play Recursively" ); |
|
|
35 |
- $mime_file = getConfig( "mime_file", "/etc/gnump3d/mime.types" ); |
34 |
- $mime_file = getConfig( "mime_file", "/etc/gnump3d/mime.types" ); |
36 |
+ $mime_file = getConfig( "mime_file", "%%PREFIX%%/etc/gnump3d/mime.types" ); |
35 |
+ $mime_file = getConfig( "mime_file", "%%PREFIX%%/etc/gnump3d/mime.types" ); |
37 |
$enable_browse = getConfig( "enable_browsing", 1 ); |
36 |
$enable_browse = getConfig( "enable_browsing", 1 ); |