From 2535611d6c3cbf951408c50ab35953efaf32f686 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 5 Apr 2021 17:26:07 -0400 Subject: makepkg: add PACMAN_AUTH configurable setting for sudo elevation If specified, this will be used no matter what. If not, then we check if sudo exists and use that, or else fall back on su. Implements FS#32621 Signed-off-by: Eli Schwartz Signed-off-by: Allan McRae --- etc/makepkg.conf.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'etc') diff --git a/etc/makepkg.conf.in b/etc/makepkg.conf.in index 43a69df6..fff5b8eb 100644 --- a/etc/makepkg.conf.in +++ b/etc/makepkg.conf.in @@ -147,3 +147,10 @@ COMPRESSLZ=(lzip -c -f) # PKGEXT='@PKGEXT@' SRCEXT='@SRCEXT@' + +######################################################################### +# OTHER +######################################################################### +# +#-- Command used to run pacman as root, instead of trying sudo and su +PACMAN_AUTH=() -- cgit v1.2.3-54-g00ecf