immich.sh: fix issue with sed command

This commit is contained in:
vhsdream 2025-05-22 07:27:08 -04:00
parent e832770c41
commit d0d1f25860

View File

@ -190,7 +190,7 @@ function update_script() {
$STD dpkg -i vchord.deb
rm vchord.deb
sed -i -e "s/'vectors.so'/'vchord.so, vectors.so'/" \
-e "/^search_path/s/, vectors'//" /etc/postgresql/16/main/postgresql.conf
-e "/^search_path/s/, vectors//" /etc/postgresql/16/main/postgresql.conf
systemctl restart postgresql.service
msg_ok "Upgrade in progress. When Immich restarts, watch the logs for 're-indexing' to complete"
fi