opkg: fix the -force_space option

SVN-Revision: 17611
This commit is contained in:
Felix Fietkau 2009-09-19 17:32:59 +00:00
parent 672e12f960
commit 997d4fb013

View file

@ -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;
}