Merge pull request #127 from cloudbuilders/oneiric
allow oneiric without FORCE=yes
This commit is contained in:
commit
b5f0b2825a
1 changed files with 2 additions and 2 deletions
4
stack.sh
4
stack.sh
|
@ -22,8 +22,8 @@
|
|||
|
||||
# Warn users who aren't on natty, but allow them to override check and attempt
|
||||
# installation with ``FORCE=yes ./stack``
|
||||
if ! grep -q natty /etc/lsb-release; then
|
||||
echo "WARNING: this script has only been tested on natty"
|
||||
if ! egrep -q 'natty|oneiric' /etc/lsb-release; then
|
||||
echo "WARNING: this script has only been tested on natty and oneiric"
|
||||
if [[ "$FORCE" != "yes" ]]; then
|
||||
echo "If you wish to run this script anyway run with FORCE=yes"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue