From 74a073e8bd14f5c76ed2aa19c919225767071d53 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Fri, 20 Jun 2025 23:22:49 +0200 Subject: [PATCH] Immich: remove unneeded tmp_file (#5332) * remove temp cleanup from immich * Update immich-install.sh * vchord --- ct/immich.sh | 2 +- install/immich-install.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ct/immich.sh b/ct/immich.sh index 3622199f2b..27e442aef2 100644 --- a/ct/immich.sh +++ b/ct/immich.sh @@ -208,7 +208,7 @@ function update_script() { $STD apt install -y ./vchord.deb $STD sudo -u postgres psql -d immich -c "ALTER EXTENSION vchord UPDATE;" systemctl restart postgresql - if [[ ! -f ~/.vchord-version ]] || [[ ! "$(cat ~/.vchord_version)" > "0.3.0" ]]; then + if [[ ! -f ~/.vchord_version ]] || [[ ! "$(cat ~/.vchord_version)" > "0.3.0" ]]; then $STD sudo -u postgres psql -d immich -c "REINDEX DATABASE;" fi echo "$VCHORD_RELEASE" >~/.vchord_version diff --git a/install/immich-install.sh b/install/immich-install.sh index b8cfce932c..aa0490b9b9 100644 --- a/install/immich-install.sh +++ b/install/immich-install.sh @@ -447,7 +447,6 @@ motd_ssh customize msg_info "Cleaning up" -rm -f "$tmp_file" $STD apt-get -y autoremove $STD apt-get -y autoclean msg_ok "Cleaned"