diff --git a/.install/nextcloud/install.sh b/.install/nextcloud/install.sh index 0b7d703..287767b 100755 --- a/.install/nextcloud/install.sh +++ b/.install/nextcloud/install.sh @@ -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)