mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
armbian-next: back to cleaning downloaded bundles/gitballs after they've converted to bare tree & proven working
This commit is contained in:
@@ -19,9 +19,8 @@ function kernel_cleanup_bundle_artifacts() {
|
|||||||
[[ -z "${git_bundles_dir}" ]] && exit_with_error "git_bundles_dir is not set"
|
[[ -z "${git_bundles_dir}" ]] && exit_with_error "git_bundles_dir is not set"
|
||||||
|
|
||||||
if [[ -d "${git_bundles_dir}" ]]; then
|
if [[ -d "${git_bundles_dir}" ]]; then
|
||||||
display_alert "Cleaning up Kernel git bundle artifacts" "no longer needed" "cachehit"
|
display_alert "Cleaning up Kernel git bundle artifacts" "no longer needed" "info"
|
||||||
display_alert "NOT CLEANING BUNDLES" "${git_bundles_dir}" "warn" # @TODO remove "soon"
|
run_host_command_logged rm -rf "${git_bundles_dir}"
|
||||||
#run_host_command_logged rm -rf "${git_bundles_dir}"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
Reference in New Issue
Block a user