From 2d12d0e0b12b7253e049608e93dd0417eb917ec6 Mon Sep 17 00:00:00 2001 From: Clayton Faria Date: Sat, 10 Oct 2026 18:27:40 +0800 Subject: [PATCH] Immich: download countryInfo.txt into the geodata directory on update (#17823) --- ct/immich.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/immich.sh b/ct/immich.sh index eeeef4148..2755cd637 100644 --- a/ct/immich.sh +++ b/ct/immich.sh @@ -329,7 +329,7 @@ EOF grep -rl /usr/src | xargs -n1 sed -i "s|\/usr/src|$INSTALL_DIR|g" grep -rlE "'/build'" | xargs -n1 sed -i "s|'/build'|'$APP_DIR'|g" sed -i "s@\"/cache\"@\"$INSTALL_DIR/cache\"@g" "$ML_DIR"/immich_ml/config.py - [[ ! -f "$GEO_DIR/countryInfo.txt" ]] && curl_with_retry "https://download.geonames.org/export/dump/countryInfo.txt" "countryInfo.txt" + [[ ! -f "$GEO_DIR/countryInfo.txt" ]] && curl_with_retry "https://download.geonames.org/export/dump/countryInfo.txt" "$GEO_DIR/countryInfo.txt" ln -s "${UPLOAD_DIR:-/opt/immich/upload}" "$APP_DIR"/upload ln -s "${UPLOAD_DIR:-/opt/immich/upload}" "$ML_DIR"/upload ln -sfn "$GEO_DIR" "$APP_DIR/geodata"