Create the server fixes temp dir for tar operations
This commit is contained in:
parent
714884d291
commit
cb2068c901
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user