Explorar o código

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

this will clear the tmp directory when a server it downloaded
Daniel Gibbs hai 1 ano
pai
achega
b4299ef166
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      lgsm/modules/install_server_files.sh

+ 1 - 0
lgsm/modules/install_server_files.sh

@@ -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 ""