Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2019-02-20 20:55:44 -0500
committerAllan McRae <allan@archlinux.org>2019-02-21 14:18:25 +1000
commit656e851f0a3947a997d852da267e06e47355d134 (patch)
treefcc1d340a0c56b53c862677b8923c913d8efacab /lib/libalpm
parent4b83bcfcee46b6adcb80fc7a9fb85d3af58fb741 (diff)
makepkg: simplify run_pacman logic
We don't need to check the options twice, since it is the same check both times. Instead, merge the conditionals. As far as I can tell, the only reason the checks for: - PACMAN_OPTS and - whether to use sudo were ever separated is due to the historic existence of --asroot, since the second check included a check for (( ! ASROOT )) until it was cleaned up in commit 61ba5c961e4a3536c4bbf41edb348987a9993fdb. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
0 files changed, 0 insertions, 0 deletions