Browse code

allow oneiric without FORCE=yes

Vishvananda Ishaya authored on 2011/11/01 03:15:05
Showing 1 changed files
... ...
@@ -22,7 +22,7 @@
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
25
+if ! egrep -q 'natty|oneiric' /etc/lsb-release; then
26 26
     echo "WARNING: this script has only been tested on natty"
27 27
     if [[ "$FORCE" != "yes" ]]; then
28 28
         echo "If you wish to run this script anyway run with FORCE=yes"