summaryrefslogtreecommitdiffstats
path: root/opkg_install.c
diff options
context:
space:
mode:
Diffstat (limited to 'opkg_install.c')
-rw-r--r--opkg_install.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/opkg_install.c b/opkg_install.c
index 242db59..b278724 100644
--- a/opkg_install.c
+++ b/opkg_install.c
@@ -413,6 +413,9 @@ int satisfy_dependencies_for(opkg_conf_t *conf, pkg_t *pkg)
&& (dep->state_status != SS_UNPACKED)) {
opkg_message(conf, OPKG_DEBUG2,"Function: %s calling opkg_install_pkg \n",__FUNCTION__);
err = opkg_install_pkg(conf, dep,0);
+ /* mark this package as having been automatically installed to
+ * satisfy a dependancy */
+ dep->auto_installed = 1;
if (err) {
pkg_vec_free(depends);
return err;