summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-10-11 02:13:41 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-10-11 02:13:51 +0200
commit37e840ac564a8c99a576aefb689a41ac4916f556 (patch)
treec1b77ebb2c44ce12698c986cf02126e7d6edf6ef
parentaeba2a927fd372fde328e213200dd9ce45a4e798 (diff)
downloadtdebase-37e840ac564a8c99a576aefb689a41ac4916f556.tar.gz
tdebase-37e840ac564a8c99a576aefb689a41ac4916f556.zip
Fix renaming of kwinrules in 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 be9622c48..7ba5a4188 100644
--- a/r14-xdg-update
+++ b/r14-xdg-update
@@ -64,7 +64,7 @@ fi
# Main script:
SCRIPT_NAME="`basename \`readlink -f $0\``"
-SCRIPT_VERSION=201310100
+SCRIPT_VERSION=201310110
# Allow forced execution of this script regardless of the kdeglobals setting
# and allow passing a user home directory as a positional parameter.
@@ -543,15 +543,15 @@ if [ ! -f $PROFILE_DIR/share/config/tdeveloprc ] && [ -f $PROFILE_DIR/share/conf
mv $PROFILE_DIR/share/config/kdeveloprc $PROFILE_DIR/share/config/tdeveloprc 2>/dev/null
fi
# kwin/twin is the Trinity window manager. kwin4/twin4 is a game.
-if [ ! -f $PROFILE_DIR/share/config/twinrc ] && [ -f $PROFILE_DIR/share/config/kwinrc ] || [ -d $PROFILE_DIR/share/apps/kwinrulesrc ]; then
+if [ ! -f $PROFILE_DIR/share/config/twinrc ] && [ -f $PROFILE_DIR/share/config/kwinrc ] || [ -d $PROFILE_DIR/share/config/kwinrulesrc ]; then
# Do not include kwinrules_update because that is an auto-generated file.
Message_Prefix
echo " kwin->twin"
mv $PROFILE_DIR/share/config/kwinrc $PROFILE_DIR/share/config/twinrc 2>/dev/null
mv $PROFILE_DIR/share/config/kwinrc.eventsrc $PROFILE_DIR/share/config/twinrc.eventsrc 2>/dev/null
mv $PROFILE_DIR/share/config/kwinrc $PROFILE_DIR/share/config/twinrc 2>/dev/null
- mv $PROFILE_DIR/share/apps/kwinrulesrc $PROFILE_DIR/share/apps/twinrulesrc 2>/dev/null
- mv $PROFILE_DIR/share/apps/kwin_rules_dialogrc $PROFILE_DIR/share/apps/twin_rules_dialogrc 2>/dev/null
+ mv $PROFILE_DIR/share/config/kwinrulesrc $PROFILE_DIR/share/config/twinrulesrc 2>/dev/null
+ mv $PROFILE_DIR/share/config/kwin_rules_dialogrc $PROFILE_DIR/share/config/twin_rules_dialogrc 2>/dev/null
sed -i 's|PluginLib=kwin_|PluginLib=twin_|' $PROFILE_DIR/share/config/twinrc
sed -i 's|PluginLib=kwin3_|PluginLib=twin3_|' $PROFILE_DIR/share/config/twinrc
fi