kiss: even smarter dependency handling

This commit is contained in:
Dylan Araps 2019-09-15 09:16:38 +03:00
parent af7928acc2
commit e472c91e81

9
kiss
View File

@ -907,15 +907,6 @@ args() {
r|remove)
log "Removing packages"
# Create a list of each package's dependencies.
# for pkg; do pkg_depends "$pkg"; done
# Reverse the list of dependencies filtering out anything
# not explicitly set for removal.
# for pkg in $deps; do
# contains "$*" "$pkg" && remove_pkgs="$pkg $remove_pkgs"
# done
for pkg; do
pkg_list "$pkg" >/dev/null ||
die "[$pkg] Not installed"