kiss: cleanup

This commit is contained in:
Dylan Araps 2019-09-09 11:49:28 +03:00
parent 95704883ca
commit 71332bab86
1 changed files with 3 additions and 5 deletions

8
kiss
View File

@ -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