summaryrefslogtreecommitdiffstats
path: root/r14-xdg-update
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2014-01-13 20:01:24 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-01-13 20:01:24 +0100
commitf72594be4f73f500682505929d3279f0f8637c5f (patch)
tree46cf0b864f0e0641b67ae15a44c2ed727c0ed533 /r14-xdg-update
parent72537abb78e66d06d0624e3fb3d7f189ce539a99 (diff)
downloadtdebase-f72594be4f73f500682505929d3279f0f8637c5f.tar.gz
tdebase-f72594be4f73f500682505929d3279f0f8637c5f.zip
Fix condition on updated rule in r14-xdg-update
SCRIPT_VERSION moved closer to top of file
Diffstat (limited to 'r14-xdg-update')
-rw-r--r--r14-xdg-update8
1 files changed, 4 insertions, 4 deletions
diff --git a/r14-xdg-update b/r14-xdg-update
index 6b3c509c7..80f8bbab9 100644
--- a/r14-xdg-update
+++ b/r14-xdg-update
@@ -2,6 +2,9 @@
#
# A script to perform R14.0.0 XDG compliance updates.
+SCRIPT_NAME="`basename \`readlink -f $0\``"
+SCRIPT_VERSION=201401130
+
# This script should be needed to run only once, but corner cases
# and file/directory permissions could cause incomplete updates.
@@ -67,9 +70,6 @@ Log () {
# Main script:
-SCRIPT_NAME="`basename \`readlink -f $0\``"
-SCRIPT_VERSION=201401120
-
# Allow forced execution of this script regardless of the kdeglobals setting
# and allow passing a user home directory as a positional parameter.
if [ "$#" -eq "2" ]; then
@@ -783,7 +783,7 @@ if [ "$R14_VERSION" -lt "201401052" ]; then
fi
fi
-if [ "$R14_VERSION" -lt "201401052" ]; then
+if [ "$R14_VERSION" -lt "201401130" ]; then
Log "Updating profile *.desktop files."
# First update *.desktop files in the Trinity profile folder. Updating these files is safe.
find "$PROFILE_DIR" -name "*.desktop" -print0 2>/dev/null | \