diff options
author | pixdamix <pixdamix@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2010-02-10 03:47:28 (EST) |
---|---|---|
committer | pixdamix <pixdamix@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2010-02-10 03:47:28 (EST) |
commit | 195000335cbba83deeabbcd25ce9627cb3e650f6 (patch) | |
tree | 79f912fc2d1e92e6221ef718a8998c759feb493e | |
parent | bc5bbb7265a7d4d3905efd2cbc75a4cb5691ceb8 (diff) |
Use ordered list when configuring packages.
Use the ordered list when configuring packages, and not the unordered
one. Fix installation of some dependend packages.
git-svn-id: http://opkg.googlecode.com/svn/trunk@521 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
-rw-r--r-- | libopkg/opkg_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libopkg/opkg_cmd.c b/libopkg/opkg_cmd.c index 0fa471e..63de047 100644 --- a/libopkg/opkg_cmd.c +++ b/libopkg/opkg_cmd.c @@ -390,8 +390,8 @@ opkg_configure_packages(char *pkg_name) goto error; } - for(i = 0; i < all->len; i++) { - pkg = all->pkgs[i]; + for(i = 0; i < ordered->len; i++) { + pkg = ordered->pkgs[i]; if (pkg_name && fnmatch(pkg_name, pkg->name, 0)) continue; |