Immich: ensure in proper working dir when updating (#5227)

This commit is contained in:
Chris
2025-06-17 10:57:08 -04:00
committed by GitHub
parent 5773459a39
commit 2ea372f034

View File

@ -30,6 +30,7 @@ function update_script() {
STAGING_DIR=/opt/staging
BASE_DIR=${STAGING_DIR}/base-images
SOURCE_DIR=${STAGING_DIR}/image-source
cd /root
if [[ -f ~/.intel_version ]]; then
curl -fsSLO https://raw.githubusercontent.com/immich-app/immich/refs/heads/main/machine-learning/Dockerfile
readarray -t INTEL_URLS < <(sed -n "/intel/p" ./Dockerfile | awk '{print $3}')