diff options
author | Allan McRae <allan@archlinux.org> | 2012-04-13 06:34:02 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-24 15:54:59 +0200 |
commit | 242411a1b4197910ac75b50033eb530004cc0e5c (patch) | |
tree | 57b9ba3c97766f10d346e3aa2b0ad2abc5b45a80 | |
parent | 22050f18f4049b20f56e98766b68c0c32d070f1a (diff) | |
download | pacman-242411a1b4197910ac75b50033eb530004cc0e5c.tar.gz pacman-242411a1b4197910ac75b50033eb530004cc0e5c.tar.xz |
makepkg: Be more consistent with missing program message
Also prevent "sudo" and "su" from being translated.
Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index caf481a1..10a0654d 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1668,7 +1668,7 @@ check_software() { # check for sudo if we will need it during makepkg execution if (( ! ( ASROOT || INFAKEROOT ) && ( DEP_BIN || RMDEPS || INSTALL ) )); then if ! type -p sudo >/dev/null; then - warning "$(gettext "Sudo can not be found. Will use su to acquire root privileges.")" + warning "$(gettext "Cannot find the %s binary. Will use %s to acquire root privileges.")" "sudo" "su" fi fi |