Ensure we use -r in cp for recursion on allocs server fixes

This commit is contained in:
Price Hiller 2022-01-01 02:35:32 -06:00
parent e886442e73
commit 1df2265437

View File

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