Clean up after download
This commit is contained in:
parent
1df2265437
commit
a77535a1d1
@ -466,6 +466,7 @@ install() {
|
|||||||
tar xf server_fixes.tar.gz -C "${server_fixes_temp_dir}"
|
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_temp_dir}"
|
||||||
|
rm -rf "server_fixes.tar.gz"
|
||||||
log "info" "Successfully installed $(important "${server_name}") to $(important "${server_directory}")"
|
log "info" "Successfully installed $(important "${server_name}") to $(important "${server_directory}")"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user