summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/live.cfg8
1 files changed, 6 insertions, 2 deletions
diff --git a/config/live.cfg b/config/live.cfg
index ccd946e..13d22af 100644
--- a/config/live.cfg
+++ b/config/live.cfg
@@ -171,8 +171,12 @@ my $_l = {
#- workaround rpm bug that leaves a corrupted rpm DB in chroot
"rm -f /var/lib/rpm/__db.*",
"rm -f /.readahead_collect",
- if_($live->{settings}{desktop} eq 'KDE4',
- "rm -f /usr/share/icons/*/icon-theme.cache"),
+ if_($live->{settings}{desktop} eq 'KDE4',
+ "rm -f /usr/share/icons/*/icon-theme.cache",
+ "cp -a /etc/akonadi/mysql-global.conf /etc/akonadi/mysql-global-standard.conf",
+ "cp /etc/akonadi/mysql-global-mobile.conf /etc/akonadi/mysql-global.conf",
+ "ak=/etc/draklive-install.d/run.d/restore-akonadi-config.sh; echo -e '#!/bin/sh\ncp /etc/akonadi/mysql-global-standard.conf /etc/akonadi/mysql-global.conf' > $ak; chmod +x $ak",
+ ),
if_($live->{settings}{desktop} eq 'GNOME',
'mkdir -p "/home/$live->{settings}{default_user}/.config/autostart/"; for file in "/etc/xdg/autostart/tracker*.desktop"; do sed "s/X-GNOME-Autostart-enabled=true/X-GNOME-Autostart-enabled=false/g" $file >"/home/$live->{settings}{default_user}/.config/autostart/$(basename $file)"; done'),