summaryrefslogtreecommitdiffstats
path: root/migratekde3
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2012-09-14 18:15:26 -0500
committerDarrell Anderson <[email protected]>2012-09-14 18:15:26 -0500
commitdef58d42968a9b1085e2359d306b6b9e669d99de (patch)
tree3e85cd76549a0814941a69dc876d7182106872e3 /migratekde3
parentf21c494c5ce314650bc041135abf8846452a076f (diff)
downloadtdebase-def58d42968a9b1085e2359d306b6b9e669d99de.tar.gz
tdebase-def58d42968a9b1085e2359d306b6b9e669d99de.zip
Update migratekde3 script to partially resolve bug report 1210.
Diffstat (limited to 'migratekde3')
-rw-r--r--migratekde37
1 files changed, 7 insertions, 0 deletions
diff --git a/migratekde3 b/migratekde3
index 17416c746..4b30e031d 100644
--- a/migratekde3
+++ b/migratekde3
@@ -297,6 +297,13 @@ if [ -n "$KDE3_PROFILE" ] && [ -d "$KDE3_PROFILE" ]; then
rm -f kmix.desktop
)
+ echo "Validating KDED services."
+ for i in `/bin/ls -1 $HOME/.trinity/share/services/kded/*.desktop`; do
+ SERVICE_NAME=`basename $i`
+ if [ ! -f $TDEDIR/share/services/kded/$SERVICE_NAME ]; then
+ $TDEDIR/bin/kwriteconfig --file $i --group "Desktop Entry" --key "X-KDE-Kded-autoload" --type bool "false"
+ fi
+ done
echo "Renaming various configuration files and directories."
# Don't force renaming in case this cript is used to update an existing Trinity profile.
echo " krita->chalk"