diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-09-10 09:23:39 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-09-10 09:23:39 +0000 |
commit | 265dc48730fa2b4ffbb3fdb51dfa04e0e06a24ae (patch) | |
tree | 2d7c447a544206fc9dea31898d92cc1120a759bd /kiss | |
parent | 80d1c2361ec53c78b8183ad35bf36686f9868e37 (diff) | |
download | cpt-265dc48730fa2b4ffbb3fdb51dfa04e0e06a24ae.tar.gz |
kiss: clean up
FossilOrigin-Name: ad93d44c9f49844813cb018f51272a361d8b63d886e05161807eff7f895095b5
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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" |