mirror of
https://codeberg.org/kiss-community/kiss
synced 2025-01-12 22:00:09 -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
|
while read -r dep dep_type; do
|
||||||
[ "${dep##\#*}" ] || continue
|
[ "${dep##\#*}" ] || continue
|
||||||
[ "$dep_type" ] || pkg_list "$dep" >/dev/null ||
|
[ "$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"
|
done < "$tar_dir/$pkg_name/$pkg_db/$pkg_name/depends"
|
||||||
|
|
||||||
[ "$required_install" ] &&
|
[ "$install_dep" ] && die "[$1] Package requires ${install_dep%, }"
|
||||||
die "[$1] Package requires ${required_install%, }" \
|
|
||||||
"[$1] Aborting here"
|
|
||||||
|
|
||||||
log "[$pkg_name] Installing package"
|
log "[$pkg_name] Installing package"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user