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"
|
log "info" "Installing Allocs Server Fixes"
|
||||||
local server_fixes_temp_dir
|
local server_fixes_temp_dir
|
||||||
server_fixes_temp_dir="Server-Fixes-$(date +%s)"
|
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
|
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}"
|
tar xf server_fixes.tar.gz -C "${server_fixes_temp_dir}"
|
||||||
cp "${server_fixes_temp_dir}/Mods/"* "${server_directory}/mods"
|
cp "${server_fixes_temp_dir}/Mods/"* "${server_directory}/mods"
|
||||||
|
Loading…
Reference in New Issue
Block a user