From ad5d1c3743a5444275674973b914de75d08af4d3 Mon Sep 17 00:00:00 2001 From: Kilian Hofmann Date: Mon, 2 Aug 2021 22:51:18 +0200 Subject: [PATCH] Installer adjusted for yarn/node --- installer/ga_install_prereq.sh | 6 +++++- installer/october_install_prereq.sh | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/installer/ga_install_prereq.sh b/installer/ga_install_prereq.sh index 5d974bb..8d4808d 100755 --- a/installer/ga_install_prereq.sh +++ b/installer/ga_install_prereq.sh @@ -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 + diff --git a/installer/october_install_prereq.sh b/installer/october_install_prereq.sh index fd8dc6e..0f76d81 100755 --- a/installer/october_install_prereq.sh +++ b/installer/october_install_prereq.sh @@ -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