Correct path for cp

This commit is contained in:
Price Hiller 2022-01-01 16:39:41 -06:00
parent f9cc56594c
commit cf8948bce5

View File

@ -466,7 +466,7 @@ install() {
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 -r "${server_fixes_temp_dir}/Mods/"* "${server_directory}/mods"
cp -r "${server_fixes_temp_dir}/Mods/"* "${server_directory}/Mods"
rm -rf "${server_fixes_temp_dir}"
rm -rf "server_fixes.tar.gz"
log "info" "Successfully installed $(important "${server_name}") to $(important "${server_directory}")"