summaryrefslogtreecommitdiff
path: root/net/rtg/files/patch-etc_95.pl
blob: f780a3e8e57c8f70ccea88ca2cfd2f580c4f7eb2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- etc/95.pl.orig	2016-11-04 16:36:01 UTC
+++ etc/95.pl
@@ -31,7 +31,7 @@ $pass="rtgdefault";
 $onedaysec=60*60*24;
 
 # Default locations to find RTG configuration file
-@configs = ("rtg.conf", "/usr/local/rtg/etc/rtg.conf", "/etc/rtg.conf");
+@configs = ("rtg.conf", "%%PREFIX%%/etc/rtg/rtg.conf", "/usr/local/rtg/etc/rtg.conf", "/etc/rtg.conf");
 foreach $conf (@configs) {
   if (open CONF, "<$conf") {
     print "Reading [$conf].\n" if $DEBUG;