From a7676f40049cf997770421f51a750247dd0e196d Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Wed, 30 Apr 2025 14:43:16 +0300 Subject: [PATCH] Fix to break long lines nicer https://github.com/webmin/webmin/pull/2463#issuecomment-2836316659 --- setup-repos-nightly.sh | 5 +++-- setup-repos.sh | 5 +++-- webmin-setup-repos-nightly.sh | 5 +++-- webmin-setup-repos.sh | 5 +++-- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/setup-repos-nightly.sh b/setup-repos-nightly.sh index ebb1c7428..0825bc9e0 100644 --- a/setup-repos-nightly.sh +++ b/setup-repos-nightly.sh @@ -3,8 +3,9 @@ # Sets up a production or testing repository for Webmin and Usermin packages # on Debian-based and RPM-based systems -NEW_SCRIPT_URL="https://raw.githubusercontent.com/webmin/webmin/master/\ -webmin-setup-repo.sh" +URL_BASE="https://raw.githubusercontent.com" +URL_PATH="/webmin/webmin/master/webmin-setup-repo.sh" +NEW_SCRIPT_URL="${URL_BASE}${URL_PATH}" for downloader in "curl -fsSL" "wget -qO-"; do if command -v "${downloader%% *}" >/dev/null 2>&1; then diff --git a/setup-repos.sh b/setup-repos.sh index 0b0451e35..697eadcc9 100644 --- a/setup-repos.sh +++ b/setup-repos.sh @@ -3,8 +3,9 @@ # Sets up a production or testing repository for Webmin and Usermin packages # on Debian-based and RPM-based systems -NEW_SCRIPT_URL="https://raw.githubusercontent.com/webmin/webmin/master/\ -webmin-setup-repo.sh" +URL_BASE="https://raw.githubusercontent.com" +URL_PATH="/webmin/webmin/master/webmin-setup-repo.sh" +NEW_SCRIPT_URL="${URL_BASE}${URL_PATH}" for downloader in "curl -fsSL" "wget -qO-"; do if command -v "${downloader%% *}" >/dev/null 2>&1; then diff --git a/webmin-setup-repos-nightly.sh b/webmin-setup-repos-nightly.sh index 755c0f15e..8a684116f 100644 --- a/webmin-setup-repos-nightly.sh +++ b/webmin-setup-repos-nightly.sh @@ -3,8 +3,9 @@ # Sets up a production or testing repository for Webmin and Usermin packages # on Debian-based and RPM-based systems -NEW_SCRIPT_URL="https://raw.githubusercontent.com/webmin/webmin/master/\ -webmin-setup-repo.sh" +URL_BASE="https://raw.githubusercontent.com" +URL_PATH="/webmin/webmin/master/webmin-setup-repo.sh" +NEW_SCRIPT_URL="${URL_BASE}${URL_PATH}" for downloader in "curl -fsSL" "wget -qO-"; do if command -v "${downloader%% *}" >/dev/null 2>&1; then diff --git a/webmin-setup-repos.sh b/webmin-setup-repos.sh index f272e4f27..b64a609e6 100644 --- a/webmin-setup-repos.sh +++ b/webmin-setup-repos.sh @@ -3,8 +3,9 @@ # Sets up a production or testing repository for Webmin and Usermin packages # on Debian-based and RPM-based systems -NEW_SCRIPT_URL="https://raw.githubusercontent.com/webmin/webmin/master/\ -webmin-setup-repo.sh" +URL_BASE="https://raw.githubusercontent.com" +URL_PATH="/webmin/webmin/master/webmin-setup-repo.sh" +NEW_SCRIPT_URL="${URL_BASE}${URL_PATH}" for downloader in "curl -fsSL" "wget -qO-"; do if command -v "${downloader%% *}" >/dev/null 2>&1; then