From 5d1f7db216c5cc3ea3357b4f8fc36308856cd135 Mon Sep 17 00:00:00 2001 From: ticktock35 Date: Sun, 14 Dec 2008 23:46:49 -0500 Subject: opkg: add autoremove command line option git-svn-id: http://opkg.googlecode.com/svn/trunk@37 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg/opkg_remove.c') diff --git a/libopkg/opkg_remove.c b/libopkg/opkg_remove.c index eb7825a..8bf1d2a 100644 --- a/libopkg/opkg_remove.c +++ b/libopkg/opkg_remove.c @@ -169,7 +169,10 @@ int opkg_remove_pkg(opkg_conf_t *conf, pkg_t *pkg,int message) */ int err; abstract_pkg_t *parent_pkg = NULL; - + + if (conf->autoremove) + printf ("autoremove is enabled, but not yet implemented\n"); + if (pkg->essential && !message) { if (conf->force_removal_of_essential_packages) { fprintf(stderr, "WARNING: Removing essential package %s under your coercion.\n" -- cgit v0.9.1