From f7bae3a12ec01e0d44e955d624257d4a72f14bc8 Mon Sep 17 00:00:00 2001 From: Kyle Kroboth Date: Wed, 12 Mar 2025 00:12:20 -0400 Subject: [PATCH] fix: silent curl --- install/fileflows-install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install/fileflows-install.sh b/install/fileflows-install.sh index 960267f..ca2d844 100644 --- a/install/fileflows-install.sh +++ b/install/fileflows-install.sh @@ -106,7 +106,7 @@ wait_for_api FFMPEG_UID=$(curl -s -X 'GET' "http://localhost:19200/api/variable/name/ffmpeg" -H 'accept: application/json' | jq -r '.Uid') FFPROBE_UID=$(curl -s -X 'GET' "http://localhost:19200/api/variable/name/ffprobe" -H 'accept: application/json' | jq -r '.Uid') -curl -s -X 'DELETE' \ +$STD curl -s -X 'DELETE' \ "http://localhost:19200/api/variable" \ -H 'accept: */*' \ -H 'Content-Type: application/json' \ @@ -120,17 +120,17 @@ curl -s -X 'DELETE' \ FFMPEG_PATH=$(which ffmpeg) FFPROBE_PATH=$(which ffprobe) -curl -s -X 'POST' \ +$STD curl -s -X 'POST' \ "http://localhost:19200/api/variable" \ -H 'accept: */*' \ -H 'Content-Type: application/json' \ - -d "{\"Name\":\"ffmpeg\",\"Value\":\"$FFMPEG_PATH\"}" /dev/null + -d "{\"Name\":\"ffmpeg\",\"Value\":\"$FFMPEG_PATH\"}" -curl -s -X 'POST' \ +$STD curl -s -X 'POST' \ "http://localhost:19200/api/variable" \ -H 'accept: */*' \ -H 'Content-Type: application/json' \ - -d "{\"Name\":\"ffprobe\",\"Value\":\"$FFPROBE_PATH\"}" /dev/null + -d "{\"Name\":\"ffprobe\",\"Value\":\"$FFPROBE_PATH\"}" msg_ok "ffmpeg and ffprobe variables have been updated successfully."