now works with natty
This commit is contained in:
parent
5086e71fcb
commit
3ee09ec209
1 changed files with 5 additions and 2 deletions
|
@ -1,10 +1,13 @@
|
||||||
#!/usr/bin/env bash
|
#!/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'`
|
UBUNTU_VERSION=`cat /etc/lsb-release | grep CODENAME | sed 's/.*=//g'`
|
||||||
if [ ! "oneiric" = "$UBUNTU_VERSION" ]; then
|
if [ ! "oneiric" = "$UBUNTU_VERSION" ]; then
|
||||||
echo "This script only works with oneiric"
|
if [ ! "natty" = "$UBUNTU_VERSION" ]; then
|
||||||
|
echo "This script only works with oneiric and natty"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# Echo commands
|
# Echo commands
|
||||||
set -o xtrace
|
set -o xtrace
|
||||||
|
|
Loading…
Reference in a new issue