mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-18 22:43:53 +01:00
opkg: forgot to remove two obsolete patches in last commit
SVN-Revision: 18381
This commit is contained in:
parent
2355f9d497
commit
0b69c5e549
@ -1,12 +0,0 @@
|
||||
--- a/libopkg/opkg_conf.c
|
||||
+++ b/libopkg/opkg_conf.c
|
||||
@@ -252,6 +252,9 @@ int opkg_conf_init(opkg_conf_t *conf, co
|
||||
if (args->force_downgrade) {
|
||||
conf->force_downgrade = 1;
|
||||
}
|
||||
+ if (args->force_space) {
|
||||
+ conf->force_space = 1;
|
||||
+ }
|
||||
if (args->force_reinstall) {
|
||||
conf->force_reinstall = 1;
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
--- 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user