aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-10 09:23:39 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-10 09:23:39 +0000
commit265dc48730fa2b4ffbb3fdb51dfa04e0e06a24ae (patch)
tree2d7c447a544206fc9dea31898d92cc1120a759bd
parent80d1c2361ec53c78b8183ad35bf36686f9868e37 (diff)
downloadcpt-265dc48730fa2b4ffbb3fdb51dfa04e0e06a24ae.tar.gz
kiss: clean up
FossilOrigin-Name: ad93d44c9f49844813cb018f51272a361d8b63d886e05161807eff7f895095b5
-rwxr-xr-xkiss6
1 files changed, 2 insertions, 4 deletions
diff --git a/kiss b/kiss
index 7fe57ea..12df2d7 100755
--- a/kiss
+++ b/kiss
@@ -688,12 +688,10 @@ pkg_install() {
while read -r dep dep_type; do
[ "${dep##\#*}" ] || continue
[ "$dep_type" ] || pkg_list "$dep" >/dev/null ||
- required_install="$required_install'$dep', "
+ install_dep="$install_dep'$dep', "
done < "$tar_dir/$pkg_name/$pkg_db/$pkg_name/depends"
- [ "$required_install" ] &&
- die "[$1] Package requires ${required_install%, }" \
- "[$1] Aborting here"
+ [ "$install_dep" ] && die "[$1] Package requires ${install_dep%, }"
log "[$pkg_name] Installing package"