![]() 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
|
||
---|---|---|
.. | ||
completion | ||
libmakepkg | ||
library | ||
po | ||
.gitignore | ||
Makefile.am | ||
makepkg-template.pl.in | ||
makepkg.sh.in | ||
meson.build | ||
pacman-db-upgrade.sh.in | ||
pacman-key.sh.in | ||
pkgdelta.sh.in | ||
repo-add.sh.in | ||
wrapper.sh.in |