From: pixdamix Date: Mon, 2 Nov 2009 15:47:16 +0000 (+0000) Subject: opkg: fix the -force_space option X-Git-Url: https://git.librecmc.org/?p=oweals%2Fopkg-lede.git;a=commitdiff_plain;h=93e1d91434de59ba4bad8238e03b7ef8e3ed43ba 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 --- 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; }