index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-06-15 12:02:29 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-15 12:02:29 -0500 |
commit | 1cd6515af0ae5d1c3dabd30749a37cfefa7dc4f5 (patch) | |
tree | 78ce0656e9200a255537a3c821716e9c90583ac9 /src | |
parent | d21f6ca4aa3209938fa312f29ac03446f57e6a66 (diff) |
-rw-r--r-- | src/pacman/conf.c | 2 | ||||
-rw-r--r-- | src/pacman/pacman.c | 2 |
diff --git a/src/pacman/conf.c b/src/pacman/conf.c index 82f525c4..081cdd5e 100644 --- a/src/pacman/conf.c +++ b/src/pacman/conf.c @@ -467,7 +467,7 @@ static int setup_libalpm(void) /* Set GnuPG's home directory. This is not relative to rootdir, even if * rootdir is defined. Reasoning: gpgdir contains configuration data. */ config->gpgdir = config->gpgdir ? config->gpgdir : strdup(GPGDIR); - ret = alpm_option_set_signaturedir(handle, config->gpgdir); + ret = alpm_option_set_gpgdir(handle, config->gpgdir); if(ret != 0) { pm_printf(PM_LOG_ERROR, _("problem setting gpgdir '%s' (%s)\n"), config->gpgdir, alpm_strerror(alpm_errno(config->handle))); diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index afc79f6f..9ed1c612 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -885,7 +885,7 @@ int main(int argc, char *argv[]) printf("\n"); printf("Lock File : %s\n", alpm_option_get_lockfile(config->handle)); printf("Log File : %s\n", alpm_option_get_logfile(config->handle)); - printf("GPG Dir : %s\n", alpm_option_get_signaturedir(config->handle)); + printf("GPG Dir : %s\n", alpm_option_get_gpgdir(config->handle)); list_display("Targets :", pm_targets); } |