Add tdefilereplace/quanta rules to r14-xdg-update.

pull/2/head
Darrell Anderson 10 years ago
parent 5a03cb0dc3
commit 0c1c9fd209

@ -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

Loading…
Cancel
Save