Browse code

Merge pull request #127 from cloudbuilders/oneiric

allow oneiric without FORCE=yes

Todd Willey authored on 2011/11/01 06:08:44
Showing 1 changed files
... ...
@@ -22,8 +22,8 @@
22 22
 
23 23
 # Warn users who aren't on natty, but allow them to override check and attempt
24 24
 # installation with ``FORCE=yes ./stack``
25
-if ! grep -q natty /etc/lsb-release; then
26
-    echo "WARNING: this script has only been tested on natty"
25
+if ! egrep -q 'natty|oneiric' /etc/lsb-release; then
26
+    echo "WARNING: this script has only been tested on natty and oneiric"
27 27
     if [[ "$FORCE" != "yes" ]]; then
28 28
         echo "If you wish to run this script anyway run with FORCE=yes"
29 29
         exit 1