From f72594be4f73f500682505929d3279f0f8637c5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 13 Jan 2014 20:01:24 +0100 Subject: Fix condition on updated rule in r14-xdg-update SCRIPT_VERSION moved closer to top of file --- r14-xdg-update | 8 ++++---- 1 file 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 | \ -- cgit v1.2.3