summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2011-03-19 04:05:47 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2011-03-19 04:05:47 +0100
commitb07a96186e4d3027278d7e8c5379cd024b1857f2 (patch)
treee8c1c9375f326771b184a75ed2346aa544b7975f
parent7a9fe7af17c77db96ea51db95ee87a6b34fc330c (diff)
downloadacritoxinstaller-b07a96186e4d3027278d7e8c5379cd024b1857f2.zip
acritoxinstaller-b07a96186e4d3027278d7e8c5379cd024b1857f2.tar.gz
trinity kdesurc restore
-rw-r--r--backend/modules/install_main4
1 files changed, 4 insertions, 0 deletions
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