Running a script does not change the state, modifying the state flags does.
[oweals/opkg-lede.git] / libopkg / opkg_cmd.c
index 2107fc4f54843b822f8319f03ec6eda49b44ffa8..88a0b5f13fb5e8baae7200dbb78b9ce83e6ef478 100644 (file)
@@ -400,6 +400,7 @@ opkg_configure_packages(char *pkg_name)
                    pkg->state_status = SS_INSTALLED;
                    pkg->parent->state_status = SS_INSTALLED;
                    pkg->state_flag &= ~SF_PREFER;
+                   opkg_state_changed++;
               } else {
                    if (!err)
                        err = r;