[Buildroot] [PATCH] core: fix download menu

Yann E. MORIN yann.morin.1998 at free.fr
Tue Jul 14 07:42:40 UTC 2015


Currently, when one enables the "Only allow downloads from primary"
option, all the other mirror options are hiddent (expected!) but the
LuaRocks and CPAN mirrors (bad!).

Fix that.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
---
 Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Config.in b/Config.in
index e10427f..8b1bd8d 100644
--- a/Config.in
+++ b/Config.in
@@ -218,8 +218,6 @@ config BR2_GNU_MIRROR
 	     http://ftp.gnu.org/pub/gnu
 	     http://mirror.aarnet.edu.au/pub/gnu
 
-endif
-
 config BR2_LUAROCKS_MIRROR
 	string "LuaRocks mirror"
 	default "http://rocks.moonscript.org"
@@ -239,6 +237,8 @@ config BR2_CPAN_MIRROR
 	  The list of mirrors is available at:
 	  http://search.cpan.org/mirror
 
+endif
+
 endmenu
 
 config BR2_JLEVEL
-- 
1.9.1



More information about the buildroot mailing list