#!/bin/bash if [ "$(id -u)" != 0 ]; then echo -e "\033[0;31mThis script must be run with root privileges" exit 1 fi ./october_install_prereq.sh if [ $? != 0 ]; then exit 1 fi whiptail --msgbox "Generating databases" 7 24 mysql < ./october_db_setup.sql if [ $? != 0 ]; then echo -e "\033[0;31mCould not create databases" exit 1 fi ./october_setup.sh if [ $? != 0 ]; then exit 1 fi ./ga_install_prereq.sh if [ $? != 0 ]; then exit 1 fi ./ga_preinstall_setup.sh if [ $? != 0 ]; then exit 1 fi ./ga_install.sh if [ $? != 0 ]; then exit 1 fi ./ga_postinstall_setup.sh if [ $? != 0 ]; then exit 1 fi ./laravel-echo-server-install.sh if [ $? != 0 ]; then exit 1 fi