]> git.ipfire.org Git - pakfire.git/commitdiff
pakfire-daemon: Replace default path to configuration file
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 14 Jun 2021 15:12:39 +0000 (15:12 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 14 Jun 2021 15:12:39 +0000 (15:12 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am
src/scripts/pakfire-daemon.in

index 531ff54b670a2e7df59c63553f12a155a7f8a251..a586f985a4dcc95ce0293b91e42e4efb383bfa52 100644 (file)
@@ -602,7 +602,8 @@ substitutions = \
        '|PACKAGE_NAME=$(PACKAGE_NAME)|' \
        '|PACKAGE_VERSION=$(PACKAGE_VERSION)|' \
        '|bindir=$(bindir)|' \
-       '|libexecdir=$(libexecdir)|'
+       '|libexecdir=$(libexecdir)|' \
+       '|sysconfdir=$(sysconfdir)|'
 
 SED_PROCESS = \
        $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
index 7a5904c079f1010a85a703e565058d878777afdf..a4ebc7e621730ef4be255925e630bfc2c9410a9c 100644 (file)
@@ -32,7 +32,8 @@ class Cli(object):
                )
 
                parser.add_argument("--config", "-c", nargs="?",
-                       default="@sysconfdir@/daemon.conf", help=_("Configuration file to load"))
+                       default="@sysconfdir@/pakfire/daemon.conf",
+                       help=_("Configuration file to load"))
 
                return parser.parse_args()