diff mbox

core: fix download menu

Message ID 1436859760-18506-1-git-send-email-yann.morin.1998@free.fr
State Accepted
Headers show

Commit Message

Yann E. MORIN July 14, 2015, 7:42 a.m. UTC
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@free.fr>
---
 Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

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