summaryrefslogtreecommitdiffstats
path: root/src/pacman/pacman.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-03-29 09:47:34 +0200
committerDan McGee <dan@archlinux.org>2007-03-30 21:55:58 +0200
commitc3ad8bd75fbec09d60e2c681781034a1178999cc (patch)
tree45d41b625c9ddaac119080edc1ddb319b90065ee /src/pacman/pacman.c
parente9ee9045ff4e9dd2355cb0fea781d7e166f9b345 (diff)
downloadpacman-c3ad8bd75fbec09d60e2c681781034a1178999cc.tar.gz
pacman-c3ad8bd75fbec09d60e2c681781034a1178999cc.tar.xz
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/pacman.c')
-rw-r--r--src/pacman/pacman.c2
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) {