allow oneiric without FORCE=yes

This commit is contained in:
Vishvananda Ishaya 2011-10-31 11:15:05 -07:00
parent 3a0e490288
commit eec092b920

View file

@ -22,7 +22,7 @@
# Warn users who aren't on natty, but allow them to override check and attempt # Warn users who aren't on natty, but allow them to override check and attempt
# installation with ``FORCE=yes ./stack`` # installation with ``FORCE=yes ./stack``
if ! grep -q natty /etc/lsb-release; then if ! egrep -q 'natty|oneiric' /etc/lsb-release; then
echo "WARNING: this script has only been tested on natty" echo "WARNING: this script has only been tested on natty"
if [[ "$FORCE" != "yes" ]]; then if [[ "$FORCE" != "yes" ]]; then
echo "If you wish to run this script anyway run with FORCE=yes" echo "If you wish to run this script anyway run with FORCE=yes"