From bf63467353b16458612b5680b11ee719fab25047 Mon Sep 17 00:00:00 2001 From: Alessandro Lannocca Date: Sun, 9 Jun 2024 17:03:47 +0200 Subject: [PATCH] double quote variable for consistency --- lib/functions/main/rootfs-image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions/main/rootfs-image.sh b/lib/functions/main/rootfs-image.sh index 33a014a4cb..2ee3cd93fa 100644 --- a/lib/functions/main/rootfs-image.sh +++ b/lib/functions/main/rootfs-image.sh @@ -56,7 +56,7 @@ function build_rootfs_and_image() { LOG_SECTION="apt_lists_copy_from_host_to_image_and_update" do_with_logging apt_lists_copy_from_host_to_image_and_update # creating xapian index that synaptic runs faster - if [[ "${BUILD_DESKTOP}" == yes && ${BETA} != "yes" && -f "${SDCARD}/usr/sbin/update-apt-xapian-index" ]]; then + if [[ "${BUILD_DESKTOP}" == yes && "${BETA}" != "yes" && -f "${SDCARD}/usr/sbin/update-apt-xapian-index" ]]; then display_alert "Recreating Synaptic search index" "Please wait - updating Xapian index for image" "info" chroot_sdcard "/usr/sbin/update-apt-xapian-index -u" fi