diff options
author | Dan McGee <dan@archlinux.org> | 2007-03-29 03:47:34 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-03-30 15:55:58 -0400 |
commit | c3ad8bd75fbec09d60e2c681781034a1178999cc (patch) | |
tree | 45d41b625c9ddaac119080edc1ddb319b90065ee /src/pacman | |
parent | e9ee9045ff4e9dd2355cb0fea781d7e166f9b345 (diff) |
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 <dan@archlinux.org>
Diffstat (limited to 'src/pacman')
-rw-r--r-- | src/pacman/pacman.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |