From 900293099463e88e1988b045ca8071b82a8cc347 Mon Sep 17 00:00:00 2001 From: sthierolf <67367923+sthierolf@users.noreply.github.com> Date: Wed, 26 May 2021 16:50:50 +0200 Subject: [PATCH] Update install.sh (#128) added check for Debian 10 (buster) --- install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install.sh b/install.sh index 53d3d40a..39083d5e 100644 --- a/install.sh +++ b/install.sh @@ -27,6 +27,10 @@ if [[ `lsb_release -d` == *"Ubuntu 20"* ]]; then elif [[ `lsb_release -d` = *"Ubuntu 18"* ]]; then echo 'Performing system update and dependency installation, this will take a few minutes' apt-get update && apt-get -y upgrade && apt install python3-venv python3-dev virtualenv redis-server postgresql nginx git gcc vim unzip ffmpeg imagemagick python3-certbot-nginx certbot wget -y +# added check for Debian 10 (buster) +elif [[ `lsb_release -d` == *"buster"* ]]; then + echo 'Performing system update and dependency installation, this will take a few minutes' + apt-get update && apt-get -y upgrade && apt install python3-venv python3-dev virtualenv redis-server postgresql nginx git gcc vim unzip ffmpeg imagemagick python3-certbot-nginx certbot wget -y else echo "This script is tested for Ubuntu 18 and 20 versions only, if you want to try MediaCMS on another system you have to perform the manual installation" exit