From: graham.gower Date: Fri, 18 Dec 2009 00:46:43 +0000 (+0000) Subject: Running a script does not change the state, modifying the state flags does. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=743aa6642e39c5f20a79e675ee509941da0f728a;p=project%2Fopkg-lede.git 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 --- 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; }