kiss: fix hang when no packages installed during conflict resolution. Closes #182

This commit is contained in:
Dylan Araps 2020-09-08 14:30:38 +03:00
parent e0e8b1d9b6
commit 6998e9f58c
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

3
kiss
View File

@ -794,6 +794,9 @@ pkg_conflicts() {
set -- "$@" "$manifest"
done
# Return here if there is nothing to check conflicts against.
[ "$#" != 0 ] || return 0
# Store the list of found conflicts in a file as we'll be using the
# information multiple times. Storing things in the cache dir allows
# us to be lazy as they'll be automatically removed on script end.