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"