From 1cd6515af0ae5d1c3dabd30749a37cfefa7dc4f5 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 15 Jun 2011 12:02:29 -0500 Subject: API: change 'signaturedir' to 'gpgdir' This is more in line with reality and what we have our makepkg, etc. options named anyway. Original-patch-by: Kerrick Staley Signed-off-by: Dan McGee --- src/pacman/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pacman/conf.c') 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))); -- cgit v1.2.3-70-g09d2