Skip to content

Commit bc79acb

Browse files
leggewiecoderabbitai[bot]
authored andcommitted
extensions: standardize apt-get option placement & separate package arguments in APA
make coderabbitai happy Move the --[no-]install-recommends flag after the install subcommand and pass each package as its own argument to avoid them being interpreted as a single package name. Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 2e9c5a9 commit bc79acb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/apa.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function custom_apt_repo__add_apa() {
1212
function post_armbian_repo_customize_image__install_from_apa() {
1313
# do not install armbian recommends for minimal images
1414
[[ "${BUILD_MINIMAL,,}" =~ ^(true|yes)$ ]] && INSTALL_RECOMMENDS="no-install-recommends" || INSTALL_RECOMMENDS="install-recommends"
15-
chroot_sdcard_apt_get --$INSTALL_RECOMMENDS install "armbian-common armbian-bsp"
15+
chroot_sdcard_apt_get install --$INSTALL_RECOMMENDS armbian-common armbian-bsp
1616
chroot_sdcard rm -f /etc/apt/sources.list.d/armbian-apa.list.inactive
1717

1818
# install desktop environment if requested

0 commit comments

Comments
 (0)