From 72d53fc301af46caffe7752e020dfe853c3f35a5 Mon Sep 17 00:00:00 2001 From: graham.gower Date: Wed, 18 Aug 2010 21:53:52 -0400 Subject: Ensure Pre-Depended and Recommended packages can be autoremoved. git-svn-id: http://opkg.googlecode.com/svn/trunk@555 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg') 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; idepends[i]; - if (cdep->type != DEPEND) + if (cdep->type != PREDEPEND + && cdep->type != DEPEND + && cdep->type != RECOMMEND) continue; for (j=0; jpossibility_count; j++) { p = pkg_hash_fetch_installed_by_name( -- cgit v0.9.1