armbian-build/lib/functions
Igor Velkov ea547d6e0a (#9400 P1a) lib/functions/bsp/armbian-bsp-cli-deb.sh: convert [ ] to [[ ]]
Replace all 43 POSIX `[ ]` tests with bash `[[ ]]` across five board-side
package hook functions (preinst, postinst_base, postinst_finish,
postinst_update_uboot_bootscript, get_bootscript_info).

Normalise `=` to `==` in the `"$1" == "upgrade"` comparison.
Collapse paired `[ A ] && [ B ]` into a single `[[ A && B ]]` where possible.
Variables that were previously unquoted inside `[ ]` (e.g. ${BOOTSCRIPT_DST},
${BOOTSCRIPT_BACKUP_VERSION}) are now properly quoted.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 13:36:20 +01:00
..
artifacts (#9400 P3a) Replace useless cat with input redirection (#9404) 2026-02-18 09:28:14 +01:00
bsp (#9400 P1a) lib/functions/bsp/armbian-bsp-cli-deb.sh: convert [ ] to [[ ]] 2026-03-05 13:36:20 +01:00
cli docker: improve auto-pull cronjob with opt-in flag and cleanup 2026-02-01 00:22:54 +01:00
compilation (#9400 P1a) lib/functions/compilation/kernel-debs.sh: convert [ ] to [[ ]] 2026-03-05 13:36:20 +01:00
configuration (#9400 P1a) lib/functions/configuration/main-config.sh: convert [ ] to [[ ]] 2026-03-05 13:36:20 +01:00
general Properly handle git submodules when GIT_FIXED_WORKDIR is set 2026-02-23 00:51:03 +01:00
host (#9400 P1a) lib/functions/host/prepare-host.sh: convert [ ] to [[ ]] 2026-03-05 13:36:20 +01:00
image (#9400 P1a) lib/functions/image/fingerprint.sh: convert [ ] to [[ ]] 2026-03-05 13:36:20 +01:00
logging framework run_host_x86_binary_logged - unset QEMU_CPU 2026-02-18 15:03:08 -05:00
main (#9400 P1a) lib/functions/main/config-prepare.sh: convert [ ] to [[ ]] 2026-03-05 13:36:20 +01:00
rootfs (#9400 P1a) lib/functions/rootfs/distro-agnostic.sh: convert [ ] to [[ ]] 2026-03-05 13:36:20 +01:00