mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 09:39:00 +00:00
fc72a828f5
SVN-Revision: 20686
16 lines
401 B
Diff
16 lines
401 B
Diff
http://code.google.com/p/opkg/source/detail?r=521
|
|
|
|
--- 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;
|