feat: delete download of tar files when installed (#4458)

this will clear the tmp directory when a server it downloaded
This commit is contained in:
Daniel Gibbs 2024-08-29 14:45:49 +01:00
parent ce27b7301b
commit b4299ef166
No known key found for this signature in database
GPG Key ID: 2076B128385E8C55

View File

@ -238,6 +238,7 @@ fn_install_server_files() {
fi
fn_fetch_file "${remote_fileurl}" "" "" "" "${local_filedir}" "${local_filename}" "${chmodx}" "${run}" "${forcedl}" "${md5}"
fn_dl_extract "${local_filedir}" "${local_filename}" "${serverfiles}"
fn_clear_tmp
}
echo -e ""