summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-04-08 21:37:35 +0200
committerThomas Backlund <tmb@mageia.org>2015-04-08 21:37:35 +0200
commit7ddb4497c59124aeefaae5206b1ec95acef5445f (patch)
tree44db72689e26aaa2e56e05fc11cbc943edb5a1e2 /config
parent083aff069da0e88e3923e23ce3710f4a956e7b5d (diff)
downloaddraklive-config-7ddb4497c59124aeefaae5206b1ec95acef5445f.tar
draklive-config-7ddb4497c59124aeefaae5206b1ec95acef5445f.tar.gz
draklive-config-7ddb4497c59124aeefaae5206b1ec95acef5445f.tar.bz2
draklive-config-7ddb4497c59124aeefaae5206b1ec95acef5445f.tar.xz
draklive-config-7ddb4497c59124aeefaae5206b1ec95acef5445f.zip
only GDM reed DM reloading for locales
Diffstat (limited to 'config')
-rw-r--r--config/live.cfg6
1 files changed, 4 insertions, 2 deletions
diff --git a/config/live.cfg b/config/live.cfg
index 324e941..36cb25c 100644
--- a/config/live.cfg
+++ b/config/live.cfg
@@ -105,8 +105,10 @@ my $_l = {
(map { [ 'files/draksnapshot.sysconfig', $_ . '/.draksnapshot', { mode => 0644, no_install => 1 } ] } @user_config_dirs),
[ 'files/compute-ooo-dicts.pl', '/usr/sbin/compute-ooo-dicts.pl', { mode => 0755 } ],
[ 'files/compute-i18n-list.pl', '/usr/sbin/compute-i18n-list.pl', { mode => 0755 } ],
- # reload DMs to get correct locale
- [ 'files/99dm-reload.xsetup', '/etc/X11/xsetup.d/', { 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_($live->{settings}{product} =~ /guadec/i,
[ 'files/GUADEC-booklet.desktop', '/usr/share/nautilus/default-desktop/booklet.desktop' ],
),