mirror of
https://github.com/moparisthebest/pacman
synced 2025-01-08 12:28:00 -05:00
makepkg: remove unnecessary use of sort
pacman -Qq output is sorted according to the users LC_COLLATE setting as is needed for comm. Signed-off-by: Andres P <aepd87@gmail.com> [Allan: adjust commit message] Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
3e4d2c3aa6
commit
d7dccd5419
@ -1884,7 +1884,7 @@ if (( NODEPS || ( (NOBUILD || REPKG) && !DEP_BIN ) )); then
|
|||||||
fi
|
fi
|
||||||
elif type -p "${PACMAN%% *}" >/dev/null; then
|
elif type -p "${PACMAN%% *}" >/dev/null; then
|
||||||
if (( RMDEPS )); then
|
if (( RMDEPS )); then
|
||||||
original_pkglist=($(run_pacman -Qq | sort)) # required by remove_dep
|
original_pkglist=($(run_pacman -Qq)) # required by remove_dep
|
||||||
fi
|
fi
|
||||||
deperr=0
|
deperr=0
|
||||||
|
|
||||||
@ -1895,7 +1895,7 @@ elif type -p "${PACMAN%% *}" >/dev/null; then
|
|||||||
resolve_deps ${makedepends[@]} || deperr=1
|
resolve_deps ${makedepends[@]} || deperr=1
|
||||||
|
|
||||||
if (( RMDEPS )); then
|
if (( RMDEPS )); then
|
||||||
current_pkglist=($(run_pacman -Qq | sort)) # required by remove_deps
|
current_pkglist=($(run_pacman -Qq)) # required by remove_deps
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if (( deperr )); then
|
if (( deperr )); then
|
||||||
|
Loading…
Reference in New Issue
Block a user