From 0da664bdcf4a20ad844060f539c3b78fceda39b9 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 11 Oct 2012 15:32:35 +0200 Subject: [PATCH] autoupdate: fix autoupdate script Signed-off-by: Stephan Raue --- packages/tools/autoupdate/scripts/autoupdate.release | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/tools/autoupdate/scripts/autoupdate.release b/packages/tools/autoupdate/scripts/autoupdate.release index fb6cb89a12..a122750dc7 100755 --- a/packages/tools/autoupdate/scripts/autoupdate.release +++ b/packages/tools/autoupdate/scripts/autoupdate.release @@ -92,6 +92,10 @@ if [ ! -f /var/lock/update.lock ]; then [ "$THIS_MINOR" -lt "$NEW_MINOR" -a \ "$THIS_MAJOR" -eq "$NEW_MAJOR" -a \ "$NEW_MINOR" -lt 90 ] || \ + [ "$THIS_MINOR" -lt "$NEW_MINOR" -a \ + "$THIS_MAJOR" -eq "$NEW_MAJOR" -a \ + "$THIS_MINOR" -ge 90 -a \ + "$NEW_MINOR" -ge 90 ] || \ [ "$THIS_MINOR" -ge 90 -a \ "$NEW_MINOR" -lt 90 -a \ $(( $THIS_MAJOR + 1 )) -eq "$NEW_MAJOR" ]; then