From 3867eb335280153acedd9d191ef544fec7a686ea Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Tue, 12 Jul 2011 21:27:52 +0300 Subject: [PATCH] fixed update sequence --- bin/v_upd_sys_vesta | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/v_upd_sys_vesta b/bin/v_upd_sys_vesta index ab2933ef..6fe988ae 100755 --- a/bin/v_upd_sys_vesta +++ b/bin/v_upd_sys_vesta @@ -70,7 +70,8 @@ if [ "$version" != "$VERSION" ]; then grep ":1$"|cut -f 1 -d :)" done else - for ver in $(seq $V3 $v3); do + V4=$((V3 + 1)) + for ver in $(seq $V4 $v3); do updates="$updates $(grep "^$v1.$v2.$ver" /tmp/versions |\ grep ":1$"|cut -f 1 -d :)" done