mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-01 05:23:09 +02:00
d968f2b92f
- re-enable upgrade and restrict it to signle packages, fix usage text - only read package descriptions if they're actually needed (almost never), saves even more space when parsing package lists - refresh patches git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18120 3c298f89-4303-0410-b956-a3cf2f4a3e73
12 lines
404 B
Diff
12 lines
404 B
Diff
--- a/libopkg/opkg_cmd.c
|
|
+++ b/libopkg/opkg_cmd.c
|
|
@@ -954,7 +954,7 @@
|
|
pkg_to_remove = pkg_hash_fetch_installed_by_name(&conf->pkg_hash, pkg->name );
|
|
}
|
|
|
|
- if (pkg == NULL) {
|
|
+ if (pkg_to_remove == NULL) {
|
|
opkg_message(conf, OPKG_ERROR, "Package %s is not installed.\n", pkg->name);
|
|
continue;
|
|
}
|