makepkg: Be more consistent with missing program message
Also prevent "sudo" and "su" from being translated. Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
22050f18f4
commit
242411a1b4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue