summaryrefslogtreecommitdiffstats
path: root/r14-xdg-update
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-12-27 15:34:14 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-12-27 15:34:14 +0900
commit0537ed938f82768c5b0aff88daf7eff620c743bf (patch)
tree16b276ba31c47d6b1f946112e4ad37340b4e8a4d /r14-xdg-update
parent6102cf0ffe3102a8686e1132e7a545a357dbeabc (diff)
downloadtdebase-0537ed938f82768c5b0aff88daf7eff620c743bf.tar.gz
tdebase-0537ed938f82768c5b0aff88daf7eff620c743bf.zip
Fixed KMail Address book rename (kabc -> tdeabc). This resolves bug 2272.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'r14-xdg-update')
-rw-r--r--r14-xdg-update9
1 files changed, 8 insertions, 1 deletions
diff --git a/r14-xdg-update b/r14-xdg-update
index edae0ca2..86d42938 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=201412080
+SCRIPT_VERSION=201412270
# This script should be needed to run only once, but corner cases
# and file/directory permissions could cause incomplete updates.
@@ -940,6 +940,13 @@ if [ "$R14_VERSION" -lt "201309150" ]; then
fi
fi
+if [ "$R14_VERSION" -lt "201412270" ]; then
+ if [ ! -d $PROFILE_DIR/share/apps/tdeabc ] && [ -d $PROFILE_DIR/share/apps/kabc ]; then
+ Log " kabc->tdeabc"
+ mv $PROFILE_DIR/share/apps/kabc $PROFILE_DIR/share/apps/tdeabc 2>/dev/null
+ fi
+fi
+
# Perform some nominal update validations.
# First clean house from any previous failures.
if [ "$CACHE_DIR" = "" ]; then