summaryrefslogtreecommitdiff
path: root/net/rtg/files/patch-etc_95.pl
blob: 64ffd2f4d95b3bc2c57f5c990eb32128b552c3d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- etc/95.pl.orig	2020-09-23 14:55: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;