pacman-key: have --init add more options to default gpg.conf
commit12a6c77fdd0c465761f4f9518eff0eeeda668d20
authorDan McGee <dan@archlinux.org>
Thu, 25 Aug 2011 17:59:27 +0000 (25 12:59 -0500)
committerAllan McRae <allan@archlinux.org>
Mon, 29 Aug 2011 01:55:23 +0000 (29 11:55 +1000)
tree6f13058c7119c3d68f5bfc0cab6ea1278030cd04
parent7ceeebf1505dba655b43e095f5392367a3a0f9b8
pacman-key: have --init add more options to default gpg.conf

This adds a add_gpg_conf_option() helper function which tries to be
intelligent and only add not found options, and those which have not
been explicitly commented out.

The new options added are 'no-greeting', 'no-permission-warning', and a
default 'keyserver'.

Signed-off-by: Dan McGee <dan@archlinux.org>
scripts/pacman-key.sh.in