summaryrefslogtreecommitdiff
path: root/sysutils/cdrdao/files/patch-dao__main.cc
blob: 01782c823acbdc629ca76a4c729c903bdc935cce (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
@@ -2314,11 +2314,7 @@
 
     Settings* settings = new Settings;
 
-    settingsPath = "/etc/cdrdao.conf";
-    if (settings->read(settingsPath) == 0)
-	log_message(3, "Read settings from \"%s\".", settingsPath);
-
-    settingsPath = "/etc/defaults/cdrdao";
+    settingsPath = "%%PREFIX%%/etc/cdrdao.conf";
     if (settings->read(settingsPath) == 0)
 	log_message(3, "Read settings from \"%s\".", settingsPath);