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