bootstrap.sh (mailinabox-57) | : | bootstrap.sh (mailinabox-57a) | ||
---|---|---|---|---|
skipping to change at line 23 | skipping to change at line 23 | |||
# to be able to upgrade to the latest version supporting Ubuntu 14.04, | # to be able to upgrade to the latest version supporting Ubuntu 14.04, | |||
# in part because an upgrade is required before jumping to Ubuntu 18.04. | # in part because an upgrade is required before jumping to Ubuntu 18.04. | |||
# New users on Ubuntu 18.04 need to get the latest version number too. | # New users on Ubuntu 18.04 need to get the latest version number too. | |||
# | # | |||
# Also, the system status checks read this script for TAG = (without the | # Also, the system status checks read this script for TAG = (without the | |||
# space, but if we put it in a comment it would confuse the status checks !) | # space, but if we put it in a comment it would confuse the status checks !) | |||
# to get the latest version, so the first such line must be the one that we | # to get the latest version, so the first such line must be the one that we | |||
# want to display in status checks. | # want to display in status checks. | |||
if [ "$(lsb_release -d | sed 's/.*:\s*//' | sed 's/18\.04\.[0-9]/18.04/' )" == "Ubuntu 18.04 LTS" ]; then | if [ "$(lsb_release -d | sed 's/.*:\s*//' | sed 's/18\.04\.[0-9]/18.04/' )" == "Ubuntu 18.04 LTS" ]; then | |||
# This machine is running Ubuntu 18.04. | # This machine is running Ubuntu 18.04. | |||
TAG=v57 | TAG=v57a | |||
elif [ "$(lsb_release -d | sed 's/.*:\s*//' | sed 's/14\.04\.[0-9]/14.04/ ' )" == "Ubuntu 14.04 LTS" ]; then | elif [ "$(lsb_release -d | sed 's/.*:\s*//' | sed 's/14\.04\.[0-9]/14.04/ ' )" == "Ubuntu 14.04 LTS" ]; then | |||
# This machine is running Ubuntu 14.04. | # This machine is running Ubuntu 14.04. | |||
echo "You are installing the last version of Mail-in-a-Box that w ill" | echo "You are installing the last version of Mail-in-a-Box that w ill" | |||
echo "support Ubuntu 14.04. If this is a new installation of Mail -in-a-Box," | echo "support Ubuntu 14.04. If this is a new installation of Mail -in-a-Box," | |||
echo "stop now and switch to a machine running Ubuntu 18.04. If y ou are" | echo "stop now and switch to a machine running Ubuntu 18.04. If y ou are" | |||
echo "upgrading an existing Mail-in-a-Box --- great. After upgrad ing this" | echo "upgrading an existing Mail-in-a-Box --- great. After upgrad ing this" | |||
echo "box, please visit https://mailinabox.email for notes on how to upgrade" | echo "box, please visit https://mailinabox.email for notes on how to upgrade" | |||
echo "to Ubuntu 18.04." | echo "to Ubuntu 18.04." | |||
echo "" | echo "" | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |