summaryrefslogtreecommitdiffstats
path: root/r14-xdg-update
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-26 14:37:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-26 14:37:48 -0600
commitd09a22af8ed75196f9b7acbd6057c5cd064d9ac3 (patch)
treeabf4a5c88bf9a902026056aaa0c893d96ea02d47 /r14-xdg-update
parent272126222ca51033a796ba5012412efa160c15f3 (diff)
downloadtdebase-d09a22af8ed75196f9b7acbd6057c5cd064d9ac3.tar.gz
tdebase-d09a22af8ed75196f9b7acbd6057c5cd064d9ac3.zip
Respect systemwide kicker settings
Diffstat (limited to 'r14-xdg-update')
-rw-r--r--r14-xdg-update12
1 files changed, 9 insertions, 3 deletions
diff --git a/r14-xdg-update b/r14-xdg-update
index b9098f1ca..86952cd39 100644
--- a/r14-xdg-update
+++ b/r14-xdg-update
@@ -507,9 +507,15 @@ if [ ! -f $PROFILE_DIR/share/config/twin4rc ] && [ -f $PROFILE_DIR/share/config/
fi
# Disable some features new to R14, otherwise users will see an unfamiliar desktop.
-$TDEDIR/bin/kwriteconfig --file kickerrc --group "General" --key "ShowDeepButtons" --type bool "false"
-$TDEDIR/bin/kwriteconfig --file kickerrc --group "General" --key "UseResizeHandle" --type bool "false"
-$TDEDIR/bin/kwriteconfig --file kickerrc --group "General" --key "MenubarPanelBlurred" --type bool "false"
+if [[ $($TDEDIR/bin/kreadconfig --file kickerrc --group "General" --key "ShowDeepButtons" --default false) == "false" ]]; then
+ $TDEDIR/bin/kwriteconfig --file kickerrc --group "General" --key "ShowDeepButtons" --type bool "false"
+fi
+if [[ $($TDEDIR/bin/kreadconfig --file kickerrc --group "General" --key "UseResizeHandle" --default false) == "false" ]]; then
+ $TDEDIR/bin/kwriteconfig --file kickerrc --group "General" --key "UseResizeHandle" --type bool "false"
+fi
+if [[ $($TDEDIR/bin/kreadconfig --file kickerrc --group "General" --key "MenubarPanelBlurred" --default false) == "false" ]]; then
+ $TDEDIR/bin/kwriteconfig --file kickerrc --group "General" --key "MenubarPanelBlurred" --type bool "false"
+fi
# Perform some nominal update validations.
# First clean house from any previous failures.