mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-12 20:35:12 -05:00
622326bb37
This fixes two issues: 1) using "sudo -l" results in excess password asking under certian configurations. Revert to the pre 3.4 behaviour of always using sudo if it is installed. 2) Properly escape the command so that that versioned dependencies, such as "foo>4", do not get treated as output redirection when using su. This also unifies the generation of the pacman line and its privilege escalation. Based on patches supplied by Andres P <aepd87@gmail.com> with minor adjustments for suitability for the maint branch. Original-work-by: Andres P <aepd87@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile.am | ||
makepkg.sh.in | ||
pacman-optimize.sh.in | ||
pkgdelta.sh.in | ||
rankmirrors.sh.in | ||
repo-add.sh.in |