[nextcloud] little fix

This commit is contained in:
poka 2020-05-19 20:47:35 +02:00
parent 949e5b7a18
commit ef7c7b3355
1 changed files with 2 additions and 4 deletions

View File

@ -45,17 +45,15 @@ else
fi
## Update system packages
apt update -y
apt install nginx mariadb-server apt-transport-https curl gnupg2 git lsb-release ssl-cert ca-certificates apt-transport-https tree locate software-properties-common dirmngr screen htop net-tools zip unzip curl ffmpeg ghostscript libfile-fcntllock-perl -y
apt -y install lsb-release apt-transport-https ca-certificates
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
wget -q https://packages.sury.org/php/apt.gpg -O- | apt-key add -
echo "deb https://packages.sury.org/php/ $OS main" | tee /etc/apt/sources.list.d/ondrej.list
apt update -y
apt install nginx mariadb-server apt-transport-https curl gnupg2 git lsb-release ssl-cert ca-certificates apt-transport-https tree locate software-properties-common dirmngr screen htop net-tools zip unzip curl ffmpeg ghostscript libfile-fcntllock-perl -y
systemctl start nginx || (echo "Erreur quelque part ..." && exit 1)
systemctl start mariadb || (echo "Erreur quelque part ..." && exit 1)
systemctl enable mariadb || (echo "Erreur quelque part ..." && exit 1)