From 0c1c9fd209fdf2e52d58581af0f17404b5d1e4ef Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Wed, 15 Jan 2014 17:34:15 -0600 Subject: Add tdefilereplace/quanta rules to r14-xdg-update. --- r14-xdg-update | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'r14-xdg-update') diff --git a/r14-xdg-update b/r14-xdg-update index 199d41f2e..86ecb7c78 100644 --- a/r14-xdg-update +++ b/r14-xdg-update @@ -3,7 +3,7 @@ # A script to perform R14.0.0 XDG compliance updates. SCRIPT_NAME="`basename \`readlink -f $0\``" -SCRIPT_VERSION=201401131 +SCRIPT_VERSION=201401150 # This script should be needed to run only once, but corner cases # and file/directory permissions could cause incomplete updates. @@ -530,10 +530,12 @@ if [ "$R14_VERSION" -lt "201309150" ]; then fi fi -if [ "$R14_VERSION" -lt "201309150" ]; then +if [ "$R14_VERSION" -lt "201401150" ]; then Log "Updating Quanta Plus plugins.rc." if [ -r $PROFILE_DIR/share/apps/quanta/plugins.rc ]; then sed -i 's|FileName=kde3|FileName=trinity|g' "$PROFILE_DIR/share/apps/quanta/plugins.rc" 2>/dev/null + sed -i 's|KFileReplace|TDEFileReplace|g' "$PROFILE_DIR/share/apps/quanta/plugins.rc" 2>/dev/null + sed -i 's|libkfilereplace|libtdefilereplace|g' "$PROFILE_DIR/share/apps/quanta/plugins.rc" 2>/dev/null else Log "Quanta Plus plugins.rc does not exist." fi @@ -744,7 +746,13 @@ fi if [ "$R14_VERSION" -lt "201401050" ]; then if [ ! -f $PROFILE_DIR/share/config/tdedebugdialogrc ] && [ -f $PROFILE_DIR/share/config/kdebugdialogrc ]; then Log " kdebugdialog->tdedebugdialog" - cp -a $PROFILE_DIR/share/config/kdebugdialogrc $PROFILE_DIR/share/config/tdedebugdialogrc 2>/dev/null + mv $PROFILE_DIR/share/config/kdebugdialogrc $PROFILE_DIR/share/config/tdedebugdialogrc 2>/dev/null + fi +fi +if [ "$R14_VERSION" -lt "201401150" ]; then + if [ ! -f $PROFILE_DIR/share/config/tdefilereplacerc ] && [ -f $PROFILE_DIR/share/config/kfilereplacerc ]; then + Log " kfilereplace->tdefilereplace" + mv $PROFILE_DIR/share/config/kfilereplacerc $PROFILE_DIR/share/config/tdefilereplacerc 2>/dev/null fi fi -- cgit v1.2.3