From 3ee09ec2099c908fb4c6d08455006837fb492cd6 Mon Sep 17 00:00:00 2001 From: Anthony Young Date: Wed, 19 Oct 2011 20:35:04 -0700 Subject: [PATCH] now works with natty --- tools/build_kvm.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/build_kvm.sh b/tools/build_kvm.sh index 614c118..019b1bd 100755 --- a/tools/build_kvm.sh +++ b/tools/build_kvm.sh @@ -1,9 +1,12 @@ #!/usr/bin/env bash +# Make sure that we have the proper version of ubuntu UBUNTU_VERSION=`cat /etc/lsb-release | grep CODENAME | sed 's/.*=//g'` if [ ! "oneiric" = "$UBUNTU_VERSION" ]; then - echo "This script only works with oneiric" - exit 1 + if [ ! "natty" = "$UBUNTU_VERSION" ]; then + echo "This script only works with oneiric and natty" + exit 1 + fi fi # Echo commands