From ff1fb45e9a35bc107065ee2982db5e62024c45a9 Mon Sep 17 00:00:00 2001 From: tremor021 Date: Sat, 28 Mar 2026 11:02:37 +0100 Subject: [PATCH] oops --- install/fileflows-install.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/install/fileflows-install.sh b/install/fileflows-install.sh index 83d62131..e82e7e3d 100644 --- a/install/fileflows-install.sh +++ b/install/fileflows-install.sh @@ -35,23 +35,23 @@ fetch_and_deploy_from_url "https://fileflows.com/downloads/zip" "/opt/fileflows" $STD ln -svf /usr/bin/ffmpeg /usr/local/bin/ffmpeg $STD ln -svf /usr/bin/ffprobe /usr/local/bin/ffprobe -CHOICE=$(msg_menu "FileFlows Setup Options" \ - "1" "Install FileFlows Server" \ - "2" "Install FileFlows Node") -case $CHOICE in -1) +read -r -p "Do you want to install FileFlows Server or Node? (S/N): " install_server + +if [[ "$install_server" =~ ^[Ss]$ ]]; then + msg_info "Installing FileFlows Server" cd /opt/fileflows/Server $STD dotnet FileFlows.Server.dll --systemd install --root true systemctl enable -q --now fileflows - ;; -2) + msg_ok "Installed FileFlows Server" +else + msg_info "Installing FileFlows Node" cd /opt/fileflows/Node $STD dotnet FileFlows.Node.dll $STD dotnet FileFlows.Node.dll --systemd install --root true systemctl enable -q --now fileflows-node - ;; -esac + msg_ok "Installed FileFlows Node" +fi motd_ssh customize