summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-09-26 13:23:00 -0500
committerDan McGee <dan@archlinux.org>2011-09-27 09:17:11 -0500
commite70d540501d718583a8e4b91ca5989af3f3db77d (patch)
tree33d7865e12de3db988b5bca5d7f74041099fbf4c
parentfa929e8258c8022f15dac79dc507fa0e53190656 (diff)
downloadpacman-e70d540501d718583a8e4b91ca5989af3f3db77d.tar.xz
pacman-key: use consistent punctuation in error messages
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--scripts/pacman-key.sh.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/pacman-key.sh.in b/scripts/pacman-key.sh.in
index 212d0fe1..86429285 100644
--- a/scripts/pacman-key.sh.in
+++ b/scripts/pacman-key.sh.in
@@ -174,14 +174,14 @@ initialize() {
check_keyring() {
if [[ ! -r ${PACMAN_KEYRING_DIR}/pubring.gpg || \
! -r ${PACMAN_KEYRING_DIR}/trustdb.gpg ]]; then
- error "$(gettext "You do not have sufficient permissions to read the %s keyring...")" "pacman"
+ error "$(gettext "You do not have sufficient permissions to read the %s keyring.")" "pacman"
msg "$(gettext "Use '%s' to correct the keyring permissions.")" "pacman-key --init"
exit 1
fi
if (( (EXPORT || FINGER || LIST || VERIFY) && EUID != 0 )); then
if ! grep -q "^[[:space:]]*lock-never[[:space:]]*$" ${PACMAN_KEYRING_DIR}/gpg.conf &>/dev/null; then
- error "$(gettext "You do not have sufficient permissions to run this command...")"
+ error "$(gettext "You do not have sufficient permissions to run this command.")"
msg "$(gettext "Use '%s' to correct the keyring permissions.")" "pacman-key --init"
exit 1
fi
@@ -327,7 +327,7 @@ edit_keys() {
for key in "${KEYIDS[@]}"; do
# Verify if the key exists in pacman's keyring
if ! "${GPG_PACMAN[@]}" --list-keys "$key" &>/dev/null; then
- error "$(gettext "The key identified by %s does not exist")" "$key"
+ error "$(gettext "The key identified by %s does not exist.")" "$key"
errors=1;
fi
done
@@ -459,8 +459,8 @@ case $numopt in
fi
;;
[!1])
- error "$(gettext "Multiple operations specified")"
- printf "$(gettext "Please run %s with each operation separately\n")" "pacman-key"
+ error "$(gettext "Multiple operations specified.")"
+ msg "$(gettext "Please run %s with each operation separately.")" "pacman-key"
exit 1
;;
esac