From 743aa6642e39c5f20a79e675ee509941da0f728a Mon Sep 17 00:00:00 2001 From: graham.gower Date: Thu, 17 Dec 2009 19:46:43 -0500 Subject: Running a script does not change the state, modifying the state flags does. git-svn-id: http://opkg.googlecode.com/svn/trunk@500 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg') 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; } -- cgit v0.9.1