From cb2068c901fa30db5305c8d7be060cb92964c4b5 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 1 Jan 2022 02:29:27 -0600 Subject: [PATCH] Create the server fixes temp dir for tar operations --- Scripts/7D2D-Manage.bash | 1 + 1 file changed, 1 insertion(+) diff --git a/Scripts/7D2D-Manage.bash b/Scripts/7D2D-Manage.bash index 301ef25..bc02147 100644 --- a/Scripts/7D2D-Manage.bash +++ b/Scripts/7D2D-Manage.bash @@ -461,6 +461,7 @@ install() { log "info" "Installing Allocs Server Fixes" local server_fixes_temp_dir server_fixes_temp_dir="Server-Fixes-$(date +%s)" + mkdir -p "${server_fixes_temp_dir}" wget http://illy.bz/fi/7dtd/server_fixes.tar.gz >/dev/null 2>&1 tar xf server_fixes.tar.gz -C "${server_fixes_temp_dir}" cp "${server_fixes_temp_dir}/Mods/"* "${server_directory}/mods"