mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 15:58:50 -05:00
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
@ -1668,7 +1668,7 @@ check_software() {
|
|||||||
# check for sudo if we will need it during makepkg execution
|
# check for sudo if we will need it during makepkg execution
|
||||||
if (( ! ( ASROOT || INFAKEROOT ) && ( DEP_BIN || RMDEPS || INSTALL ) )); then
|
if (( ! ( ASROOT || INFAKEROOT ) && ( DEP_BIN || RMDEPS || INSTALL ) )); then
|
||||||
if ! type -p sudo >/dev/null; 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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user