From 242411a1b4197910ac75b50033eb530004cc0e5c Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Fri, 13 Apr 2012 14:34:02 +1000 Subject: makepkg: Be more consistent with missing program message Also prevent "sudo" and "su" from being translated. Signed-off-by: Allan McRae --- scripts/makepkg.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/makepkg.sh.in') 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 -- cgit v1.2.3