1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-04-04 21:57:23 +02:00

Support Ubuntu LTS point releases

This commit is contained in:
David Duque
2020-07-26 00:26:35 +01:00
parent ac8c0ae762
commit 60911515fd
2 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@
if [ -z "$TAG" ]; then
# Make s
OS=`lsb_release -d | sed 's/.*:\s*//'`
if [ "$OS" == "Debian GNU/Linux 10 (buster)" -o "$OS" == "Ubuntu 20.04 LTS" ]; then
if [ "$OS" == "Debian GNU/Linux 10 (buster)" -o "$(echo $OS | grep -o 'Ubuntu 20.04')" == "Ubuntu 20.04" ]; then
TAG=v0.46.POWER.4
else
echo "This script must be run on a system running Debian 10 OR Ubuntu 20.04 LTS."