summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2011-05-23 06:42:31 +0000
committerOlivier Blin <blino@mageia.org>2011-05-23 06:42:31 +0000
commit15d5ee053463bbaa913701e7497ebbfe6accc9b3 (patch)
tree4013616befabe9813c036dd6ce81c3e7ff1afcbd
parent87194334c8cb20d04e3b78151ba8defd56833a65 (diff)
downloaddraklive-config-15d5ee053463bbaa913701e7497ebbfe6accc9b3.tar
draklive-config-15d5ee053463bbaa913701e7497ebbfe6accc9b3.tar.gz
draklive-config-15d5ee053463bbaa913701e7497ebbfe6accc9b3.tar.bz2
draklive-config-15d5ee053463bbaa913701e7497ebbfe6accc9b3.tar.xz
draklive-config-15d5ee053463bbaa913701e7497ebbfe6accc9b3.zip
do not install libreoffice br translations if only fr is explicitely selected
-rw-r--r--config/auto_inst.cfg.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/auto_inst.cfg.pl b/config/auto_inst.cfg.pl
index e963ecd..ffb1344 100644
--- a/config/auto_inst.cfg.pl
+++ b/config/auto_inst.cfg.pl
@@ -90,6 +90,11 @@ $o = {
#- do not install pt translations if only pt_BR is explicitely selected
'kde-l10n-pt', 'firefox-pt_PT', 'libreoffice-langpack-pt_PT', 'myspell-pt_PT',
),
+ if_($ENV{DRAKLIVE_LANGS} !~ /\bbr\b/ && $ENV{DRAKLIVE_REGION} ne 'all',
+ #- do not install libreoffice br translations if only fr is explicitely selected
+ #- (the br package require locales-fr so it is auto-selected if fr is available)
+ 'libreoffice-langpack-br',
+ ),
if_($ENV{DRAKLIVE_PRODUCT} !~ /liveusb-rw/i, 'task-printing-scanning'),
'qtradio', 'kradio',
'system-config-printer',