summaryrefslogtreecommitdiffstats
path: root/r14-xdg-update
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2013-09-15 03:26:59 +0200
committerSlávek Banko <[email protected]>2013-09-15 03:26:59 +0200
commit17034fa1abbde4bfb30f9aefe4983762f7b217d3 (patch)
treedede49be3458996b86c623118fdbfa03bc1888a3 /r14-xdg-update
parentb0d67615b2eaad2d29b35125e11eb68546410b29 (diff)
downloadtdebase-17034fa1abbde4bfb30f9aefe4983762f7b217d3.tar.gz
tdebase-17034fa1abbde4bfb30f9aefe4983762f7b217d3.zip
Minor fix to r14-xdg-update script
Diffstat (limited to 'r14-xdg-update')
-rw-r--r--r14-xdg-update8
1 files changed, 4 insertions, 4 deletions
diff --git a/r14-xdg-update b/r14-xdg-update
index 090cec9e3..63f769556 100644
--- a/r14-xdg-update
+++ b/r14-xdg-update
@@ -634,7 +634,7 @@ if [ ! -f $HOME/.tderc ] && [ -f $HOME/.kderc ]; then
mv $HOME/.kderc $HOME/.tderc 2>/dev/null
fi
fi
-if [ -a $PROFILE_DIR/share/apps/kstyle ]; then
+if [ ! -f $PROFILE_DIR/share/apps/tdestyle] && [ -f $PROFILE_DIR/share/apps/kstyle ]; then
Message_Prefix
echo " kstyle->tdestyle"
mv $PROFILE_DIR/share/apps/kstyle $PROFILE_DIR/share/apps/tdestyle 2>/dev/null
@@ -652,13 +652,13 @@ if [ ! -f $PROFILE_DIR/share/config/tdepowersaverc ] && [ -f $PROFILE_DIR/share/
fi
# Disable some features new to R14, otherwise users will see an unfamiliar desktop.
-if [[ $($TDEDIR/bin/kreadconfig --file kickerrc --group "General" --key "ShowDeepButtons" --default false) == "false" ]]; then
+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
+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
+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