diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-12-16 23:44:33 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-12-16 23:44:33 +0100 |
commit | f010cb00af60d6d5b90cf02db901b1c75bff3e2b (patch) | |
tree | e787ec688cc9c783665933d473e868196890e4ce | |
parent | 5250782d6281138847067a1d686721f6765513b2 (diff) | |
download | tdebase-f010cb00af60d6d5b90cf02db901b1c75bff3e2b.tar.gz tdebase-f010cb00af60d6d5b90cf02db901b1c75bff3e2b.zip |
Add renaming references of kconf to r14-xdg-update
-rw-r--r-- | r14-xdg-update | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/r14-xdg-update b/r14-xdg-update index e2eb2549b..ab9b1572b 100644 --- a/r14-xdg-update +++ b/r14-xdg-update @@ -64,7 +64,7 @@ fi # Main script: SCRIPT_NAME="`basename \`readlink -f $0\``" -SCRIPT_VERSION=201310190 +SCRIPT_VERSION=201312160 # Allow forced execution of this script regardless of the kdeglobals setting # and allow passing a user home directory as a positional parameter. @@ -345,6 +345,11 @@ find "$PROFILE_DIR" \ -type f -print0 2>/dev/null | \ xargs -r0 grep -ZIFl "$TDEDIR/share/applications/kde" | \ xargs -r0 sed -i "s|$TDEDIR/share/applications/kde|$TDEDIR/share/applications/tde|g" +Message_Prefix +echo "Updating references of kconf to tdeconf." +find "$PROFILE_DIR"/share/config -type f -print0 2>/dev/null | \ + xargs -r0 grep -ZIEl "([^a-zA-Z0-9]|^)kconf" | \ + xargs -r0 sed -ri "s|([^a-zA-Z0-9]\|^)kconf|\1tdeconf|g" # Preserve keyboard shortcuts and input actions. if [ -r "$PROFILE_DIR/share/config/khotkeysrc" ]; then |