Skip to content

Commit ac7b229

Browse files
committed
Make sure pacman -Qq output is sorted correctly
1 parent e29e0f1 commit ac7b229

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

repro.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ __END__
267267
read -r -a buildinfo_packages <<< "$(buildinfo -f installed "${pkg}")"
268268
uninstall=$(comm -13 \
269269
<(printf '%s\n' "${buildinfo_packages[@]}" | rev | cut -d- -f4- | rev | sort) \
270-
<(exec_nspawn build --bind="$(readlink -e ${cachedir}):/cache" pacman -Qq))
270+
<(exec_nspawn build --bind="$(readlink -e ${cachedir}):/cache" pacman -Qq | sort))
271271

272272
exec_nspawn build pacman -Rdd --noconfirm -- $uninstall
273273

0 commit comments

Comments
 (0)