From b07a96186e4d3027278d7e8c5379cd024b1857f2 Mon Sep 17 00:00:00 2001 From: Andreas Loibl Date: Sat, 19 Mar 2011 04:05:47 +0100 Subject: trinity kdesurc restore --- backend/modules/install_main | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/modules/install_main b/backend/modules/install_main index efe775f..f4c5e61 100644 --- a/backend/modules/install_main +++ b/backend/modules/install_main @@ -225,8 +225,12 @@ function copy_home_to_target() "$TARGET/home/$cfg_username/.kde/share/apps/konsole/sumc.desktop" \ "$TARGET/home/$cfg_username/.kde/share/config/kdesurc" \ "$TARGET/home/$cfg_username/.kde4/share/config/kdesurc" \ + "$TARGET/home/$cfg_username/.trinity/share/config/kdesurc" \ "$TARGET/home/$cfg_username/.su-to-rootrc" rm -rf "$TARGET/home/$cfg_username/.gconf/apps/gksu" + # revert trinity kdesu workaround to default + [ -e "$TARGET/etc/skel/.trinity/share/config/kdesurc" ] && \ + cp "$TARGET/etc/skel/.trinity/share/config/kdesurc" "$TARGET/home/$cfg_username/.trinity/share/config/kdesurc" # force kde first time configuration if [ -f /etc/skel/.kde/share/config/kpersonalizerrc ]; then -- cgit v1.0