Immich: remove unneeded tmp_file (#5332)

* remove temp cleanup from immich

* Update immich-install.sh

* vchord
This commit is contained in:
CanbiZ
2025-06-20 23:22:49 +02:00
committed by GitHub
parent ce9c1e63a8
commit 74a073e8bd
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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"