From 12b77b2148d792d8ceb795915fa0ba1c2fcd4532 Mon Sep 17 00:00:00 2001 From: Jeroen Date: Tue, 12 Nov 2024 14:59:49 +0200 Subject: [PATCH] Add ; to end of functions --- executables/install_mods.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/executables/install_mods.sh b/executables/install_mods.sh index 56db2cd..980c598 100644 --- a/executables/install_mods.sh +++ b/executables/install_mods.sh @@ -60,7 +60,7 @@ function remove_mod_signing_keys_from_server () { cd /app/serverfiles/keys/ find . ! -name a3.bikey -maxdepth 1 -type f -delete popd -} +}; check_mod_names_and_mods_array_lengths () { local -n array1="$1" @@ -70,7 +70,7 @@ check_mod_names_and_mods_array_lengths () { echo "Arrays MOD_NAMES and MODS are not correctly filled, please check." exit 1 fi -} +}; function replace_mods_value () { local -n MOD_ARRAY=$1 @@ -90,7 +90,7 @@ function replace_mods_value () { sed -i "s/^mods=\"[^\"]*\"/mods=\"$MOD_LIST\"/" "$LINUXGSM_SERVER_CONFIG" echo "The mods value has been updated in $LINUXGSM_SERVER_CONFIG." -} +}; function start () { local counter=1