summaryrefslogtreecommitdiff
path: root/net/rtg/files/patch-etc_rtgtargmkr.pl.in
blob: 9d9c6ed0a7eb960969a48950efd6cc91cb52aea6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- etc/rtgtargmkr.pl.in.orig	2020-09-23 11:57:31 UTC
+++ etc/rtgtargmkr.pl.in
@@ -78,7 +78,7 @@ $catalyst = [
 );
 
 # 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;