From c3ad8bd75fbec09d60e2c681781034a1178999cc Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 29 Mar 2007 03:47:34 -0400 Subject: Make all paths and file locations configurable Several important paths, file locations, and extensions were #define-d in the source code instead of being configurable. This moves all of these to the configure script where they can be picked upon running ./configure. We may later want to make some of these even more visible and move them to pacman.conf. Signed-off-by: Dan McGee --- src/pacman/pacman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index c586aebe..add9cb93 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -510,7 +510,7 @@ int main(int argc, char *argv[]) alpm_option_set_logcb(cb_log); if(config->configfile == NULL) { - config->configfile = strdup(PACCONF); + config->configfile = strdup(PM_ROOT PM_CONF); } if(alpm_parse_config(config->configfile, NULL, "") != 0) { -- cgit v1.2.3-70-g09d2