From f50cf10249d9a089739e8d6a22d439e783f6b039 Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Tue, 22 Jul 2014 21:36:15 +0000 Subject: [PATCH] also accept Ubuntu 14.04.1 LTS, the point release that people are automatically pushed to fixes #116 --- setup/start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/start.sh b/setup/start.sh index 0b8de9a5..af4ac1ea 100755 --- a/setup/start.sh +++ b/setup/start.sh @@ -15,8 +15,8 @@ if [[ $EUID -ne 0 ]]; then exit fi -# Check that we are running on Ubuntu 14.04 LTS. -if [ "`lsb_release -d | sed 's/.*:\s*//'`" != "Ubuntu 14.04 LTS" ]; then +# Check that we are running on Ubuntu 14.04 LTS (or 14.04.xx). +if [ "`lsb_release -d | sed 's/.*:\s*//' | sed 's/14\.04\.[0-9]/14.04/' `" != "Ubuntu 14.04 LTS" ]; then echo "Mail-in-a-Box only supports being installed on Ubuntu 14.04, sorry. You are running:" echo lsb_release -d | sed 's/.*:\s*//'