1
0
mirror of https://github.com/moparisthebest/pacman synced 2025-01-08 12:28:00 -05:00
pacman/scripts
canyonknight c231c9af97 Improve exit statuses and error messages in pacman-key
Return codes from gpg commands are currently lost. This adds the functionality
of taking non-zero exit statuses from gpg. This includes error reporting for all
gpg commands that are run individually, run in a loop, and run through a pipe.

Includes the check_keyids_exist function which verifies a key exists locally
prior to attempted local manipulation of the key.

If a gpg command has a non-zero status, pacman-key will now exit with a non-zero
status. It will print a gettext error message of gpg's failure.

Signed-off-by: canyonknight <canyonknight@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-01-18 22:01:12 -06:00
..
library parse_options: accept multiple arguments 2011-07-05 10:22:31 -05:00
po Update translations from Transifex 2012-01-05 17:04:42 -06:00
.gitignore Move some .gitignore entries 2011-07-18 10:28:19 -05:00
Makefile.am buildsys: remove existing symlinks before installing 2011-09-14 17:18:07 -05:00
makepkg.sh.in makepkg: abort on missing download agent 2012-01-08 12:13:32 -06:00
pacman-db-upgrade.sh.in fix vim syntax highlighting of .sh files 2011-06-30 10:44:45 -05:00
pacman-key.sh.in Improve exit statuses and error messages in pacman-key 2012-01-18 22:01:12 -06:00
pacman-optimize.sh.in fix vim syntax highlighting of .sh files 2011-06-30 10:44:45 -05:00
pkgdelta.sh.in pkgdelta: proper quoting in [[ expression ]] 2011-09-28 14:09:01 -05:00
rankmirrors.sh.in rankmirrors: properly sort resulting times 2011-09-06 08:44:34 -05:00
repo-add.sh.in repo-add: clean up help messages 2012-01-18 22:00:13 -06:00