opkg: add autoremove command line option
[oweals/opkg-lede.git] / libopkg / opkg_remove.c
index eb7825a860395e800fcde32794dd42f8a31c1a6f..8bf1d2a547aec176cb4003ebbc1d10dcde0561b5 100644 (file)
@@ -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"