summaryrefslogtreecommitdiffstats
path: root/libopkg
diff options
context:
space:
mode:
authorpixdamix <pixdamix@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-02 10:47:16 (EST)
committer pixdamix <pixdamix@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-02 10:47:16 (EST)
commit93e1d91434de59ba4bad8238e03b7ef8e3ed43ba (patch)
tree32fa2bcaf00ef6fe0928e79c1a4883c775792750 /libopkg
parent908c671d6b3807854d41b4b51c584d16d7c2694b (diff)
opkg: fix the -force_space option
- 006-fix_force_space.patch from OpenWRT git-svn-id: http://opkg.googlecode.com/svn/trunk@239 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg')
-rw-r--r--libopkg/opkg_conf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libopkg/opkg_conf.c b/libopkg/opkg_conf.c
index a261a18..8e90602 100644
--- a/libopkg/opkg_conf.c
+++ b/libopkg/opkg_conf.c
@@ -264,6 +264,9 @@ int opkg_conf_init(opkg_conf_t *conf, const args_t *args)
if (args->force_downgrade) {
conf->force_downgrade = 1;
}
+ if (args->force_space) {
+ conf->force_space = 1;
+ }
if (args->force_reinstall) {
conf->force_reinstall = 1;
}