diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-01-15 17:34:15 -0600 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2014-01-15 17:34:15 -0600 |
commit | 0c1c9fd209fdf2e52d58581af0f17404b5d1e4ef (patch) | |
tree | b47a32b7e2184005154c674f7cf884fbad84c940 /r14-xdg-update | |
parent | 5a03cb0dc39f7159e9bd0a8eae7a2169ba70620a (diff) | |
download | tdebase-0c1c9fd209fdf2e52d58581af0f17404b5d1e4ef.tar.gz tdebase-0c1c9fd209fdf2e52d58581af0f17404b5d1e4ef.zip |
Add tdefilereplace/quanta rules to r14-xdg-update.
Diffstat (limited to 'r14-xdg-update')
-rw-r--r-- | r14-xdg-update | 14 |
1 files changed, 11 insertions, 3 deletions
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 |