Installer adjusted for yarn/node

This commit is contained in:
Kilian Hofmann 2021-08-02 22:51:18 +02:00
parent 3b1f83445b
commit ad5d1c3743
2 changed files with 6 additions and 2 deletions

View File

@ -1,8 +1,12 @@
#!/bin/bash
whiptail --msgbox "Installing GA Prerequisites" 7 31
apt install npm git jq
apt install npm git jq -y
npm i -g yarn
npm i -g n
n 12
if [ $? != 0 ]; then
echo -e "\033[0;31mCould not install GermanAirlines specific prerequisites"
exit 1
fi

View File

@ -3,7 +3,7 @@
tmp=$(mktemp)
whiptail --msgbox "Installing LAMP + Redis" 7 27
apt install apache2 libapache2-mod-php php mysql-server mysql-client php-mysql redis php-redis php-ctype php-curl php-xml php-fileinfo php-gd php-json php-mbstring php-zip
apt install apache2 libapache2-mod-php php mysql-server mysql-client php-mysql redis php-redis php-ctype php-curl php-xml php-fileinfo php-gd php-json php-mbstring php-zip -y
if [ $? != 0 ]; then
echo -e "\033[0;31mapt failed to run"
exit 1