From b4e7fb5e1bfda78dd7f70ff92ebc0a1ca6d32c29 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Wed, 15 Jan 2025 00:09:24 -0600 Subject: [PATCH] add end of line --- .../platform/qbittorrent/templates/config-map.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/clusters/cl01tl/platform/qbittorrent/templates/config-map.yaml b/clusters/cl01tl/platform/qbittorrent/templates/config-map.yaml index 4142eff85..c9f4bf273 100644 --- a/clusters/cl01tl/platform/qbittorrent/templates/config-map.yaml +++ b/clusters/cl01tl/platform/qbittorrent/templates/config-map.yaml @@ -11,10 +11,10 @@ metadata: app.kubernetes.io/part-of: {{ .Release.Name }} data: update.sh: | - if ! command -v curl 2>&1 >/dev/null - then - echo "curl could not be found, installing" - apk add curl - fi - echo "updating port with $1" - curl -i -X POST -d "json={\"listen_port\": \"${1}\"}" "http://localhost:8080/api/v2/app/setPreferences" + if ! command -v curl 2>&1 >/dev/null + then + echo "curl could not be found, installing"; + apk add curl; + fi; + echo "updating port with $1"; + curl -i -X POST -d "json={\"listen_port\": \"${1}\"}" "http://localhost:8080/api/v2/app/setPreferences";