modified
This commit is contained in:
30
install_full.sh
Normal file
30
install_full.sh
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
#!/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="./deploy_funmaps.sh"
|
||||||
|
|
||||||
|
# Execute the first script
|
||||||
|
info "Executing ${SCRIPT1}..."
|
||||||
|
bash "$SCRIPT1"
|
||||||
|
|
||||||
|
# Execute the second script
|
||||||
|
info "Executing ${SCRIPT2}..."
|
||||||
|
bash "$SCRIPT2"
|
||||||
|
|
||||||
|
# Execute the third script
|
||||||
|
#info "Executing ${SCRIPT3}..."
|
||||||
|
#bash "$SCRIPT3"
|
||||||
|
|
||||||
|
info "All scripts executed successfully."
|
||||||
|
|
||||||
|
docker-compose restart
|
||||||
Reference in New Issue
Block a user