ebcb4d14ad
PR: ports/119308 Submitted by: Philippe Audeoud <jadawin@tuxaco.net> Approved by: thierry (mentor)
17 lines
496 B
Text
17 lines
496 B
Text
--- bin/gnump3d-top.orig 2008-01-03 11:25:59.000000000 +0000
|
|
+++ bin/gnump3d-top 2008-01-03 11:26:30.000000000 +0000
|
|
@@ -126,12 +126,12 @@
|
|
{
|
|
$CONFIG{'file'} = $ENV{"HOME"} . "/.gnump3drc";
|
|
}
|
|
-elsif ( -e "/etc/gnump3d/gnump3d.conf" )
|
|
+elsif ( -e "%%PREFIX%%/etc/gnump3d/gnump3d.conf" )
|
|
{
|
|
#
|
|
# Otherwise the system wide one.
|
|
#
|
|
- $CONFIG{'file'} = "/etc/gnump3d/gnump3d.conf";
|
|
+ $CONFIG{'file'} = "%%PREFIX%%/etc/gnump3d/gnump3d.conf";
|
|
}
|
|
elsif ( -e "gnump3d.conf" )
|
|
{
|