cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit bbce776b6b30804b458e9630ce8dc64a2b87af87
parent 9e508097c6eabd306b69b6c757ebccdc57b2b6d6
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Tue, 10 Sep 2019 12:23:40 +0300

kiss: clean up

Diffstat:
Mkiss | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git 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"