From 029f68b97f3ab04d65e2539f5d4d1ddf2f0bcd32 Mon Sep 17 00:00:00 2001 From: AiutoPcAmico <98831402+AiutoPcAmico@users.noreply.github.com> Date: Fri, 29 Dec 2023 11:41:00 +0100 Subject: [PATCH] Modified release checks --- setup/preflight.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup/preflight.sh b/setup/preflight.sh index 9bc968de..018d1696 100644 --- a/setup/preflight.sh +++ b/setup/preflight.sh @@ -8,9 +8,8 @@ if [[ $EUID -ne 0 ]]; then fi # Check that we are running on Ubuntu 20.04 LTS (or 20.04.xx). -if [ "$( lsb_release --id --short )" != "Ubuntu" ] || [ "$( lsb_release --release --short )" != "22.04" ]; then if [ "$( lsb_release --id --short )" != "Debian" ] || [ "$( lsb_release --release --short )" != "12" ]; then - echo "Mail-in-a-Box only supports being installed on Ubuntu 22.04 or Debian 12, sorry. You are running:" + echo "Debian Mail-in-a-Box only supports being installed on Debian 12, sorry. You are running:" echo lsb_release --description --short echo