Skip to content

Commit 2ea372f

Browse files
authored
Immich: ensure in proper working dir when updating (#5227)
1 parent 5773459 commit 2ea372f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ct/immich.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ function update_script() {
3030
STAGING_DIR=/opt/staging
3131
BASE_DIR=${STAGING_DIR}/base-images
3232
SOURCE_DIR=${STAGING_DIR}/image-source
33+
cd /root
3334
if [[ -f ~/.intel_version ]]; then
3435
curl -fsSLO https://raw.githubusercontent.com/immich-app/immich/refs/heads/main/machine-learning/Dockerfile
3536
readarray -t INTEL_URLS < <(sed -n "/intel/p" ./Dockerfile | awk '{print $3}')

0 commit comments

Comments
 (0)