From 6998e9f58c89dd46a205f45afe9d9b5aa52edd36 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 8 Sep 2020 14:30:38 +0300 Subject: [PATCH] kiss: fix hang when no packages installed during conflict resolution. Closes #182 --- kiss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kiss b/kiss index 3f5973d..ba93f53 100755 --- a/kiss +++ b/kiss @@ -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.