From f1a1e342dbf6a04602869e4b02e92fbb7462e7d7 Mon Sep 17 00:00:00 2001 From: sthierolf <67367923+sthierolf@users.noreply.github.com> Date: Thu, 14 Oct 2021 09:24:07 +0200 Subject: [PATCH] Update install.sh (#303) Tested with newly release Debian 11 Bullseye, added to OS Version check. --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 2fb9a34..7143073 100644 --- a/install.sh +++ b/install.sh @@ -1,5 +1,5 @@ #!/bin/bash -# should be run as root and only on Ubuntu 18/20, Debian Buster versions! +# should be run as root and only on Ubuntu 18/20, Debian 10/11 (Buster/Bullseye) versions! echo "Welcome to the MediacMS installation!"; if [ `id -u` -ne 0 ] @@ -22,7 +22,7 @@ done osVersion=$(lsb_release -d) -if [[ $osVersion == *"Ubuntu 20"* ]] || [[ $osVersion == *"Ubuntu 18"* ]] || [[ $osVersion == *"buster"* ]]; then +if [[ $osVersion == *"Ubuntu 20"* ]] || [[ $osVersion == *"Ubuntu 18"* ]] || [[ $osVersion == *"buster"* ]] || [[ $osVersion == *"bullseye"* ]]; then echo 'Performing system update and dependency installation, this will take a few minutes' apt-get update && apt-get -y upgrade && apt-get install python3-venv python3-dev virtualenv redis-server postgresql nginx git gcc vim unzip imagemagick python3-certbot-nginx certbot wget xz-utils -y else