30 lines
587 B
Bash
30 lines
587 B
Bash
#!/bin/bash
|
|
|
|
# Ensure the script stops if any of the subscripts fails
|
|
set -e
|
|
|
|
# Function to display [INFO] in blue and the message in default color
|
|
info() {
|
|
printf "\033[0;34m[INFO]\033[0m %s\n" "$1"
|
|
}
|
|
|
|
# Paths to the scripts (adjust these paths as necessary)
|
|
SCRIPT1="./fix_gcc.sh"
|
|
SCRIPT2="./install_mods.sh"
|
|
SCRIPT3="./install_funmaps.sh"
|
|
|
|
docker-compose up &
|
|
sleep 120
|
|
|
|
info "Executing ${SCRIPT1}..."
|
|
bash "$SCRIPT1"
|
|
|
|
info "Executing ${SCRIPT2}..."
|
|
bash "$SCRIPT2"
|
|
|
|
info "Executing ${SCRIPT3}..."
|
|
bash "$SCRIPT3"
|
|
|
|
info "All scripts executed successfully."
|
|
|
|
docker-compose restart |