aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-14 10:28:33 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-14 10:28:33 +0000
commitf74545cd4120f94b212d00d89b27ec0a34d6f95b (patch)
treedd8c02b616b072a39c4652475c47fc291e52f40b
parentf9eff050efb1c2b7443b1dd7633def90f0684aa9 (diff)
downloadcpt-f74545cd4120f94b212d00d89b27ec0a34d6f95b.tar.gz
depends: Clean up
FossilOrigin-Name: 16e968177055f26adb9322b533944708fc6ccc6f07521bb1108905fd4f32d98f
-rwxr-xr-xkiss3
1 files changed, 1 insertions, 2 deletions
diff --git a/kiss b/kiss
index e5a1174..c2d6352 100755
--- a/kiss
+++ b/kiss
@@ -42,14 +42,13 @@ pkg_setup() {
pkg_depends() {
while read -r dep; do
- pkg_list "$dep" || {
+ pkg_list "$dep" ||
case $missing in
*" $dep,"*) ;;
*) missing="$missing $dep,"
pkg_setup "$dep"
pkg_depends ;;
esac
- }
done 2>/dev/null < depends
}