diff options
author | kitsunyan | 2018-03-18 21:37:57 +0000 |
---|---|---|
committer | kitsunyan | 2018-03-18 21:37:57 +0000 |
commit | f0f1a5cd5e0f32f464c9bbef18e0f28d7119964e (patch) | |
tree | 8cf103b2a54bb646a156103acfedf050a15b845b /src/config.nim | |
parent | 471650128626145a3f45c543eecb6e5be4f273dd (diff) |
Use keyserver from ${gpgdir}/gpg.conf by default
Diffstat (limited to 'src/config.nim')
-rw-r--r-- | src/config.nim | 6 |
1 files changed, 4 insertions, 2 deletions
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) |