Skip to content

Commit

Permalink
double quote variable for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
alexl83 authored and igorpecovnik committed Jun 9, 2024
1 parent 717143b commit 26345f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/functions/main/rootfs-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 26345f0

Please sign in to comment.