summaryrefslogtreecommitdiffstats
path: root/sysutils/cdrdao/files/patch-dao::main.cc
blob: ab89bf6c6622b2786197a1d22be690d037853b2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- dao/main.cc.orig    Sat Dec 28 03:01:20 2002
+++ dao/main.cc Sat Dec 28 03:04:38 2002
@@ -1890,11 +1890,7 @@
 
   SETTINGS = new Settings;
 
-  settingsPath = "/etc/cdrdao.conf";
-  if (SETTINGS->read(settingsPath) == 0)
-    message(3, "Read settings from \"%s\".", settingsPath);
-
-  settingsPath = "/etc/defaults/cdrdao";
+  settingsPath = "%%PREFIX%%/etc/cdrdao.conf";
   if (SETTINGS->read(settingsPath) == 0)
     message(3, "Read settings from \"%s\".", settingsPath);