mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-01 23:57:05 +00:00
Modified release checks
This commit is contained in:
parent
5c81962001
commit
029f68b97f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user