aboutsummaryrefslogtreecommitdiffstats
path: root/en/map/index.php
diff options
context:
space:
mode:
authorManuel Hiebel <leuhmanu@mageia.org>2021-02-25 20:39:16 +0100
committerManuel Hiebel <leuhmanu@mageia.org>2021-02-25 20:47:07 +0100
commita8efb638cf382245a66901e1e56d69e8c15c9c99 (patch)
tree4161916438a10bcf59cc4853a1873a12ed5816d4 /en/map/index.php
parent67be4a46553e5a100df4dccc05758a1431f9fee6 (diff)
downloadwww-a8efb638cf382245a66901e1e56d69e8c15c9c99.tar
www-a8efb638cf382245a66901e1e56d69e8c15c9c99.tar.gz
www-a8efb638cf382245a66901e1e56d69e8c15c9c99.tar.bz2
www-a8efb638cf382245a66901e1e56d69e8c15c9c99.tar.xz
www-a8efb638cf382245a66901e1e56d69e8c15c9c99.zip
Add Mageia 8
Diffstat (limited to 'en/map/index.php')
-rw-r--r--en/map/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/en/map/index.php b/en/map/index.php
index 277b45e31..51ca8a08c 100644
--- a/en/map/index.php
+++ b/en/map/index.php
@@ -38,6 +38,7 @@ $map = array(
't' => _r('Downloads'),
'l' => '/{L}/downloads/',
'i' => array(
+ array('t' => _r('8 (February 2021)'), 'l' => '/{L}/8/'),
array('t' => _r('7 (June 2019)'), 'l' => '/{L}/7/'),
array('t' => _r('6 (July 2017)'), 'l' => '/{L}/6/'),
array('t' => _r('5 (June 2015)'), 'l' => '/{L}/5/'),
r die "usage: $0 /path/to/etc/pcmcia/config /path/to/modules.dep\n"; my ($pcmcia_config, $modules_dep) = @ARGV; my @ignore_modules_in_deps = qw(pcmcia_core ds); my @conf_contents = cat_($pcmcia_config); die "uhm, problem, <$pcmcia_config> seems short in lines\n" if listlength(@conf_contents) < 10; foreach (cat_($modules_dep)) { /^(\S+): (.*)/ and $deps{$1} = [ split ' ', $2 ] or die "could not understand `$_' in <$modules_dep>\n"; } foreach my $confline (@conf_contents) { $confline =~ /class.*\s+module\s+(.*)/ or next; my @modules = map { /"([^"]+)"(.*)/ && [ $1, $2 ] } split ',', $1; $_->[0] =~ s|.*/([^/]+)$|$1|g foreach @modules; #- remove directories since we don't support that during install my @deps = grep { !member($_, @ignore_modules_in_deps, map { $_->[0] } @modules) } map { @{$deps{$_->[0]}} } @modules; my $new_modz = join ', ', (map { "\"$_\"" } @deps), (map { "\"$_->[0]\"$_->[1]" } @modules); $confline =~ s/(class.*\s+module\s+).*/$1$new_modz/; } output($pcmcia_config, @conf_contents);