From 3f7118c2018eeaf8eab25e85c4513c30d908d2af Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 16 Feb 2025 15:58:19 +0000 Subject: [PATCH] cli: Fix path of default configuration file Signed-off-by: Michael Tremer --- src/cli/pakfire.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cli/pakfire.c b/src/cli/pakfire.c index 7beec9d8..f0c92b0b 100644 --- a/src/cli/pakfire.c +++ b/src/cli/pakfire.c @@ -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, -- 2.39.5