From 22ddb0a9f276d5f1f93fbc79d7e536f5d6251815 Mon Sep 17 00:00:00 2001 From: zino Date: Sat, 25 Nov 2023 02:02:02 +0100 Subject: [PATCH] modified --- install_full.sh | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 install_full.sh diff --git a/install_full.sh b/install_full.sh new file mode 100644 index 0000000..ce9fe85 --- /dev/null +++ b/install_full.sh @@ -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 \ No newline at end of file