From 71332bab86d13897d40c4f62720e0747837f9bf1 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 9 Sep 2019 11:49:28 +0300 Subject: [PATCH] kiss: cleanup --- kiss | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/kiss b/kiss index ba657b3..2b59569 100755 --- a/kiss +++ b/kiss @@ -589,13 +589,11 @@ pkg_conflicts() { # Go through the manifest list and filter out the # package which will be installed. for manifest; do - manifest_name=${manifest%/*} - manifest_name=${manifest_name##*/} - shift - [ "$manifest_name" = "$pkg_name" ] && - continue + case $manifest in + */$pkg_name/manifest) continue + esac set -- "$@" "$manifest" done