armbian-next: prepare-host: don't manage ACNG in prepare if not asked to

This commit is contained in:
Ricardo Pardini
2023-01-27 15:51:12 +01:00
parent 8574b87f8d
commit b91d752aa6

View File

@@ -84,8 +84,8 @@ function prepare_host_noninteractive() {
late_prepare_host_dependencies
install_host_dependencies "late dependencies during prepare_release"
# Manage apt-cacher-ng
acng_configure_and_restart_acng
# Manage apt-cacher-ng, if such is the case
[[ "${MANAGE_ACNG}" == "yes" ]] && acng_configure_and_restart_acng
# sync clock
if [[ $SYNC_CLOCK != no && -f /var/run/ntpd.pid ]]; then