opkg: fix the -force_space option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17611 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
aaf7d1c635
commit
6bc6300984
|
@ -0,0 +1,12 @@
|
||||||
|
--- 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;
|
||||||
|
}
|
Loading…
Reference in New Issue