From 727b713893d76bffe2af70a588f9fcad34b84321 Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 14 Aug 2025 14:20:21 -0400 Subject: [PATCH] Immich: quickfix #6836 (#6848) --- ct/immich.sh | 5 ++++- install/immich-install.sh | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ct/immich.sh b/ct/immich.sh index dbe6248a1..92bf9a51c 100644 --- a/ct/immich.sh +++ b/ct/immich.sh @@ -180,7 +180,10 @@ EOF msg_ok "Updated Immich CLI" chown -R immich:immich "$INSTALL_DIR" - echo "$RELEASE" >/opt/"${APP}"_version.txt + if [[ ! -f ~/.debian_version.bak ]]; then + cp /etc/debian_version ~/.debian_version.bak + sed -i 's/.*/13.0/' /etc/debian_version + fi msg_ok "Updated ${APP} to v${RELEASE}" msg_info "Cleaning up" diff --git a/install/immich-install.sh b/install/immich-install.sh index 665b7fd2d..b9a79d39e 100644 --- a/install/immich-install.sh +++ b/install/immich-install.sh @@ -455,6 +455,8 @@ systemctl enable -q --now "$APPLICATION"-ml.service "$APPLICATION"-web.service msg_ok "Created user, env file, scripts and services" sed -i "$ a VERSION_ID=12" /etc/os-release # otherwise the motd_ssh function will fail +cp /etc/debian_version ~/.debian_version.bak +sed -i 's/.*/13.0' /etc/debian_version motd_ssh customize