From 81df5c53d7dd6e7d3869ce96b3febc172e21611b Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Mon, 8 Mar 2010 17:36:22 -0800 Subject: Use more reliable method for determining system version. --- scripts/install/install-image-existing | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/install/install-image-existing') diff --git a/scripts/install/install-image-existing b/scripts/install/install-image-existing index 1514d0a1..86a27f3e 100755 --- a/scripts/install/install-image-existing +++ b/scripts/install/install-image-existing @@ -32,7 +32,7 @@ if [ -z "$CURVER" ]; then fi # get new version string. this is from the squashfs image. -NEWVER=`dpkg -l --root=${CD_SQUASH_ROOT} | grep "^ii vyatta-version" | awk '{print $3}'` +NEWVER=`dpkg -l --root=${CD_SQUASH_ROOT} | grep "^.. vyatta-version " | awk '{print $3}'` if [ -z "$NEWVER" ]; then failure_exit 'Cannot find new release version.' -- cgit v1.2.3