summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorcanyonknight <canyonknight@gmail.com>2012-01-17 01:09:56 +0100
committerDan McGee <dan@archlinux.org>2012-01-19 05:01:00 +0100
commit24ca6ce1f969a6f5d3ef9277f6d20efcd76330ec (patch)
treee2fa8a83d059b504bcbef1498e2e72d31b530304 /lib
parent430b0df7794815049f37f38df39c71e1a9e9c157 (diff)
downloadpacman-24ca6ce1f969a6f5d3ef9277f6d20efcd76330ec.tar.gz
pacman-24ca6ce1f969a6f5d3ef9277f6d20efcd76330ec.tar.xz
Turn gpg commands into functions in pacman-key
Adds functions for every gpg command. By pulling out the gpg commands from the "program start" section, additional commands can be run before or after a specific gpg command without adding additional clutter to the function call section. Adds an explicit exit status of 0 to prevent arithmetic expansions from returning non-zero, thereby falsely causing pacman-key to have a non-zero exit status. This change creates the framework for additional error messages and better exit statuses being added to every pacman-key gpg call. Signed-off-by: canyonknight <canyonknight@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions