]> git.ipfire.org Git - pakfire.git/commitdiff
cli: Fix path of default configuration file
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 16 Feb 2025 15:58:19 +0000 (15:58 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 16 Feb 2025 15:58:19 +0000 (15:58 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/cli/pakfire.c

index 7beec9d8a7941b88986332642824afb9307ca46a..f0c92b0bcc1627bfa71e44439bc54148c4154e62 100644 (file)
@@ -159,8 +159,7 @@ int main(int argc, char* argv[]) {
 
        struct cli_global_args args = {
                .ctx      = ctx,
-               // XXX hard-coded path
-               .config   = "/etc/pakfire/general.conf",
+               .config   = PAKFIRE_CONFIG_DIR "/pakfire.conf",
                .arch     = NULL,
                .root     = "/",
                .flags    = 0,