Clean up pkg_remove_orphan_dependent() and remove_autoinstalled().
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Fri, 20 Nov 2009 01:20:24 +0000 (01:20 +0000)
committergraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Fri, 20 Nov 2009 01:20:24 +0000 (01:20 +0000)
commita6d79aecf9bb27c27e3f9fbef544e190592f24b7
tree77307e55d3121a84a8700f406374222110290ebd
parentb6c404659768c0be9d4d7b93a8d475c76ee26380
Clean up pkg_remove_orphan_dependent() and remove_autoinstalled().

This is motivated by a desire to remove usage of depends_str, but fixes
real problems with these functions as a side effect.
pkg_remove_orphan_dependent() works as advertised now.

git-svn-id: http://opkg.googlecode.com/svn/trunk@341 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
libopkg/opkg_install.c
libopkg/opkg_remove.c