diff --git a/.install/1-install_requirements.sh b/.install/1-install_requirements.sh index 07bee41..03b4c0f 100755 --- a/.install/1-install_requirements.sh +++ b/.install/1-install_requirements.sh @@ -6,7 +6,7 @@ isARM=$(uname -a | grep arm) # Basics sudo apt update -sudo apt install curl jq zip unzip htop tree ntpdate -y +sudo apt install curl jq zip unzip htop tree ntpdate gnupg ssmtp mpack imagemagick qrencode bc jq libttspico-utils libttspico0 libttspico-data -y # Silkaj + Duniterpy libsodium=$(sudo apt search libsodium | grep -v "header" | grep "Network communication" -B1 | head -n1 | awk -F '/' '{ print $1 }') @@ -48,4 +48,6 @@ sudo apt install gammu-smsd -y || sudo apt install -f sudo usermod -aG gammu $USER +umask 027 à /root/.bashrc + exit 0 diff --git a/.install/4-install_playsms.sh b/.install/4-install_playsms.sh index a42e10b..377fd2d 100755 --- a/.install/4-install_playsms.sh +++ b/.install/4-install_playsms.sh @@ -18,7 +18,7 @@ if [[ $(grep buster /etc/os-release) ]]; then sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xF1656F24C74CD1D8 sudo add-apt-repository 'deb [arch=amd64] http://mariadb.mirror.liquidtelecom.com/repo/10.4/debian buster main' sudo apt -y update - sudo apt -y install software-properties-common nginx php php-common php-fpm php-gd php-mysql php-curl php-imap php-mbstring php-xml php-cli mariadb-server + sudo apt -y install software-properties-common nginx php php-common php-fpm php-gettext php-gd php-mysql php-curl php-imap php-mbstring php-xml php-cli mariadb-server elif [[ $(grep stretch /etc/os-release) ]]; then sudo apt -y install lsb-release apt-transport-https ca-certificates sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg @@ -26,7 +26,7 @@ elif [[ $(grep stretch /etc/os-release) ]]; then sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8 echo -e "deb [arch=amd64,i386,ppc64el] http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.4/debian stretch main\ndeb-src http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.4/debian stretch main" | sudo tee /etc/apt/sources.list.d/mariadb.list sudo apt -y update - sudo apt -y install software-properties-common dirmngr nginx php7.3 php7.3-common php7.3-fpm php7.3-gd php7.3-mysql php7.3-curl php7.3-imap php7.3-mbstring php7.3-xml php7.3-cli mariadb-server + sudo apt -y install software-properties-common dirmngr nginx php7.3 php7.3-common php7.3-gettext php7.3-fpm php7.3-gd php7.3-mysql php7.3-curl php7.3-imap php7.3-mbstring php7.3-xml php7.3-cli mariadb-server else echo "${c_red}Votre système n'est pas pris en charge par ce script d'installation.$c_" exit 1