mirror of
https://git.freebsd.org/ports.git
synced 2025-05-13 07:41:50 -04:00
Convert to options helpers and clean up. Take maintainership. https://github.com/cdrdao/cdrdao/releases/tag/rel_1_2_5
15 lines
510 B
C++
15 lines
510 B
C++
--- dao/main.cc.orig 2023-02-03 14:46:06 UTC
|
|
+++ dao/main.cc
|
|
@@ -2450,11 +2450,7 @@ int main(int argc, char **argv)
|
|
|
|
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);
|
|
|