diff options
author | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-11-24 00:13:10 (EST) |
---|---|---|
committer | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-11-24 00:13:10 (EST) |
commit | 6e6742af3d1dbc27a84afb7c78e296afa976a39d (patch) | |
tree | b380c8b1b22a558826d9faea5747a7ed4a8e7cde /libopkg | |
parent | 0029afd9026a9f82c68c86a81be306ff835a30d5 (diff) |
Provide a more useful comment.
git-svn-id: http://opkg.googlecode.com/svn/trunk@361 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg')
-rw-r--r-- | libopkg/opkg_cmd.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libopkg/opkg_cmd.c b/libopkg/opkg_cmd.c index e33ef68..26ec73d 100644 --- a/libopkg/opkg_cmd.c +++ b/libopkg/opkg_cmd.c @@ -880,11 +880,15 @@ static int opkg_flag_cmd(opkg_conf_t *conf, int argc, char **argv) ( strcmp(flags,"user")==0)||( strcmp(flags,"ok")==0)) { pkg->state_flag = pkg_state_flag_from_str(flags); } -/* pb_ asked this feature 03292004 */ -/* Actually I will use only this two, but this is an open for various status */ + + /* + * Useful if a package is installed in an offline_root, and + * should be configured by opkg-cl configure at a later date. + */ if (( strcmp(flags,"installed")==0)||( strcmp(flags,"unpacked")==0)){ pkg->state_status = pkg_state_status_from_str(flags); } + opkg_state_changed++; opkg_message(conf, OPKG_NOTICE, "Setting flags for package %s to %s\n", |