summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libopkg/opkg_cmd.c1
-rw-r--r--libopkg/opkg_configure.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/libopkg/opkg_cmd.c b/libopkg/opkg_cmd.c
index 2107fc4..88a0b5f 100644
--- a/libopkg/opkg_cmd.c
+++ b/libopkg/opkg_cmd.c
@@ -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;
diff --git a/libopkg/opkg_configure.c b/libopkg/opkg_configure.c
index 154d3e6..4aca0f0 100644
--- a/libopkg/opkg_configure.c
+++ b/libopkg/opkg_configure.c
@@ -38,7 +38,6 @@ opkg_configure(pkg_t *pkg)
return err;
}
- opkg_state_changed++;
return 0;
}