diff options
author | canyonknight <canyonknight@gmail.com> | 2012-01-17 01:09:56 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-01-19 05:01:00 +0100 |
commit | 24ca6ce1f969a6f5d3ef9277f6d20efcd76330ec (patch) | |
tree | e2fa8a83d059b504bcbef1498e2e72d31b530304 /test/util/vercmptest.sh | |
parent | 430b0df7794815049f37f38df39c71e1a9e9c157 (diff) | |
download | pacman-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 'test/util/vercmptest.sh')
0 files changed, 0 insertions, 0 deletions