From bece1c574f69e84bbeb1fd3c9146dc4bbdfd4144 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 18 Jun 2025 06:34:33 -0400 Subject: [PATCH] Immich: fix prompt clobber issue (#5231) * Immich: fix prompt clobber issue * change functions to new tools.func * duplicate --------- Co-authored-by: CanbiZ <47820557+MickLesk@users.noreply.github.com> --- install/immich-install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install/immich-install.sh b/install/immich-install.sh index 367e68472..65f130310 100644 --- a/install/immich-install.sh +++ b/install/immich-install.sh @@ -84,10 +84,7 @@ ln -s /usr/lib/jellyfin-ffmpeg/ffmpeg /usr/bin/ffmpeg ln -s /usr/lib/jellyfin-ffmpeg/ffprobe /usr/bin/ffprobe msg_ok "Dependencies Installed" -NODE_VERSION="22" setup_nodejs -PG_VERSION="16" setup_postgresql - -read -r -p "${TAB3}Install OpenVINO dependencies for Intel HW-accelerated machine-learning? " prompt +read -r -p "Install OpenVINO dependencies for Intel HW-accelerated machine-learning? y/N " prompt if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then msg_info "Installing OpenVINO dependencies" touch ~/.openvino @@ -112,6 +109,9 @@ if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then msg_ok "Installed OpenVINO dependencies" fi +NODE_VERSION="22" setup_nodejs +PG_VERSION="16" setup_postgresql + msg_info "Setting up Postgresql Database" $STD apt-get install postgresql-16-pgvector curl -fsSL https://github.com/tensorchord/VectorChord/releases/download/0.3.0/postgresql-16-vchord_0.3.0-1_amd64.deb -o vchord.deb