From 717143b472a84fcb38c1c36e8e12588734951c36 Mon Sep 17 00:00:00 2001 From: Alessandro Lannocca Date: Sun, 9 Jun 2024 12:49:23 +0200 Subject: [PATCH] build xapian-index for synaptic only for stable releases --- 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 45384ace16..33a014a4cb 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 && -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