From e3dfa511651abc04ca73faedafe98dd058cde549 Mon Sep 17 00:00:00 2001 From: Rolf Leggewie Date: Sat, 16 Aug 2025 21:00:39 +0800 Subject: [PATCH] extensions: make handling of INSTALL_RECOMMENDS in APA more robust --- extensions/apa.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/apa.sh b/extensions/apa.sh index c02c20b1c..d1988d663 100644 --- a/extensions/apa.sh +++ b/extensions/apa.sh @@ -11,8 +11,8 @@ function custom_apt_repo__add_apa() { function post_armbian_repo_customize_image__install_from_apa() { # do not install armbian recommends for minimal images - [[ "${BUILD_MINIMAL,,}" =~ ^(true|yes)$ ]] && INSTALL_RECOMMENDS="no" || INSTALL_RECOMMENDS="yes" - chroot_sdcard_apt_get --install-recommends=$INSTALL_RECOMMENDS install "armbian-common armbian-bsp" + [[ "${BUILD_MINIMAL,,}" =~ ^(true|yes)$ ]] && INSTALL_RECOMMENDS="no-install-recommends" || INSTALL_RECOMMENDS="install-recommends" + chroot_sdcard_apt_get --$INSTALL_RECOMMENDS install "armbian-common armbian-bsp" # install desktop environmnent if requested case ${DESKTOP_ENVIRONMENT^^} in