summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-06-10 21:17:31 +0200
committerThomas Backlund <tmb@mageia.org>2015-06-10 21:17:31 +0200
commitb357bf9ab9fc1ad9c23a3693bb872149585ecd52 (patch)
treeafffd93304b9ef0d5b28bcd706a6d41c371dd7f1
parent892697e49580ccdd4156dc9861af044ec9c40e8d (diff)
downloaddraklive-config-b357bf9ab9fc1ad9c23a3693bb872149585ecd52.tar
draklive-config-b357bf9ab9fc1ad9c23a3693bb872149585ecd52.tar.gz
draklive-config-b357bf9ab9fc1ad9c23a3693bb872149585ecd52.tar.bz2
draklive-config-b357bf9ab9fc1ad9c23a3693bb872149585ecd52.tar.xz
draklive-config-b357bf9ab9fc1ad9c23a3693bb872149585ecd52.zip
no point in restarting gdm for changed lang on english-only cds
-rw-r--r--config/live.cfg4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/live.cfg b/config/live.cfg
index b5f5f95..3474e14 100644
--- a/config/live.cfg
+++ b/config/live.cfg
@@ -117,7 +117,9 @@ my $_l = {
[ 'files/compute-i18n-list.pl', '/usr/sbin/compute-i18n-list.pl', { mode => 0755 } ],
# reload GDM to get correct locale
if_($live->{settings}{desktop} eq 'GNOME',
- [ 'files/99dm-reload.xsetup', '/etc/X11/xsetup.d/', { mode => 0755 } ],
+ if_(member($live->{settings}{media}, 'DVD'),
+ [ 'files/99dm-reload.xsetup', '/etc/X11/xsetup.d/', { mode => 0755 } ],
+ ),
),
],
remove_files => [