summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-04-05 23:26:07 +0200
committerAllan McRae <allan@archlinux.org>2021-04-07 14:41:54 +0200
commit2535611d6c3cbf951408c50ab35953efaf32f686 (patch)
treeced97b08051b9d646f10105c81fa58933ec82eb6 /etc
parentd6f86594434729b77e9131880738290140086d40 (diff)
downloadpacman-2535611d6c3cbf951408c50ab35953efaf32f686.tar.gz
pacman-2535611d6c3cbf951408c50ab35953efaf32f686.tar.xz
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 <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'etc')
-rw-r--r--etc/makepkg.conf.in7
1 files changed, 7 insertions, 0 deletions
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=()