Create the server fixes temp dir for tar operations

This commit is contained in:
Price Hiller 2022-01-01 02:29:27 -06:00
parent 714884d291
commit cb2068c901

View File

@ -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"