From f0f1a5cd5e0f32f464c9bbef18e0f28d7119964e Mon Sep 17 00:00:00 2001 From: kitsunyan Date: Mon, 19 Mar 2018 00:37:57 +0300 Subject: Use keyserver from ${gpgdir}/gpg.conf by default --- src/config.nim | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/config.nim') diff --git a/src/config.nim b/src/config.nim index abcf376..42b9b70 100644 --- a/src/config.nim +++ b/src/config.nim @@ -14,12 +14,14 @@ type debug*: bool progressBar*: bool verbosePkgList*: bool + pgpKeyserver*: Option[string] ignorePkgs*: HashSet[string] ignoreGroups*: HashSet[string] PacmanConfig* = object of CommonConfig rootOption*: Option[string] dbOption*: Option[string] + gpgOption*: Option[string] colorMode*: ColorMode Config* = object of CommonConfig @@ -118,8 +120,8 @@ proc obtainConfig*(config: PacmanConfig): Config = let viewNoDefault = options.hasKey("ViewNoDefault") Config(root: root, db: db, tmpRoot: tmpRoot, color: color, - dbs: config.dbs, arch: config.arch, debug: config.debug, - progressBar: config.progressBar, verbosePkgList: config.verbosePkgList, + dbs: config.dbs, arch: config.arch, debug: config.debug, progressBar: config.progressBar, + verbosePkgList: config.verbosePkgList, pgpKeyserver: config.pgpKeyserver, ignorePkgs: config.ignoreGroups, ignoreGroups: config.ignoreGroups, aurComments: aurComments, checkIgnored: checkIgnored, printAurNotFound: printAurNotFound, viewNoDefault: viewNoDefault) -- cgit v1.2.3-70-g09d2