diff options
Diffstat (limited to 'libopkg')
-rw-r--r-- | libopkg/opkg_remove.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libopkg/opkg_remove.c b/libopkg/opkg_remove.c index 0e967a3..1ed2dab 100644 --- a/libopkg/opkg_remove.c +++ b/libopkg/opkg_remove.c @@ -182,7 +182,9 @@ remove_autoinstalled(pkg_t *pkg) for (i=0; i<count; i++) { cdep = &pkg->depends[i]; - if (cdep->type != DEPEND) + if (cdep->type != PREDEPEND + && cdep->type != DEPEND + && cdep->type != RECOMMEND) continue; for (j=0; j<cdep->possibility_count; j++) { p = pkg_hash_fetch_installed_by_name( |