mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 00:20:05 -07:00
kiss: clean up
This commit is contained in:
parent
9e508097c6
commit
bbce776b6b
6
kiss
6
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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user