index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2006-12-14 05:23:08 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-12-14 05:23:08 +0000 |
commit | b308f06a3a3d368c38b0d109b7e6c1c639127148 (patch) | |
tree | f37ea25991eac1bb7d4232db2973b6b2561843b2 /src | |
parent | f45b3356f8edcd1c90048d2b59ccb4577d0dcf02 (diff) |
-rw-r--r-- | src/pacman/pacman.c | 3 |
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 0f55ec43..8cfe39bb 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -57,8 +57,6 @@ #include "sync.h" #include "deptest.h" -#define PACCONF "/etc/pacman.conf" - #if defined(__OpenBSD__) || defined(__APPLE__) #define BSD #endif @@ -506,6 +504,7 @@ int main(int argc, char *argv[]) if(config->configfile == NULL) { config->configfile = strdup(PACCONF); } + if(alpm_parse_config(config->configfile, cb_db_register, "") != 0) { ERR(NL, _("failed to parse config (%s)\n"), alpm_strerror(pm_errno)); cleanup(1); |