From 56a5dccabf73e03050edab3448f51f63f356d5a1 Mon Sep 17 00:00:00 2001 From: mazelado Date: Mon, 19 Oct 2026 02:16:18 -0500 Subject: [PATCH] immich: add missing library lines before the refresh (#17990) Co-authored-by: Matt Daleo <12395090+mazelado@users.noreply.github.com> --- ct/immich.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ct/immich.sh b/ct/immich.sh index 3492f72d7..76df49255 100644 --- a/ct/immich.sh +++ b/ct/immich.sh @@ -103,10 +103,10 @@ EOF fi fi # Without the revision file the refresh was skipped and sharp failed on an old libvips (#17914). - if [[ ! -f ~/.immich_library_revisions ]]; then - msg_warn "No record of the compiled image-processing libraries, rebuilding all of them" - printf '%s: unknown\n' imagemagick jpegli libheif libjxl libraw libvips >~/.immich_library_revisions - fi + [[ -f ~/.immich_library_revisions ]] || msg_warn "No record of the compiled image-processing libraries, rebuilding all of them" + for lib in imagemagick jpegli libheif libjxl libraw libvips; do + grep -q "^${lib}:" ~/.immich_library_revisions 2>/dev/null || echo "${lib}: unknown" >>~/.immich_library_revisions + done [[ -d "$BASE_DIR/.git" ]] || $STD git clone -b main https://github.com/immich-app/base-images "$BASE_DIR" libraries=("libjxl" "jpegli" "libheif" "libraw" "imagemagick" "libvips") cd "$BASE_DIR"