From 31cf4ed06d7449896f26aa9d3c1116ac68ad9def Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6nig?= Date: Sat, 18 Oct 2025 13:12:23 +0200 Subject: [PATCH 1/2] Fix gravity indention MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian König --- gravity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gravity.sh b/gravity.sh index f84d05f9..1cd422e1 100755 --- a/gravity.sh +++ b/gravity.sh @@ -750,7 +750,7 @@ gravity_DownloadBlocklistFromUrl() { # Check for allowed protocols if [[ $url != "http"* && $url != "https"* && $url != "file"* && $url != "ftp"* && $url != "ftps"* && $url != "sftp"* ]]; then echo -e "${OVER} ${CROSS} ${str} Invalid protocol specified. Ignoring list." - echo -e "Ensure your URL starts with a valid protocol like http:// , https:// or file:// ." + echo -e " Ensure your URL starts with a valid protocol like http:// , https:// or file:// ." download=false fi From bfc263ac964570a8b1811f536cd4d32247cc395d Mon Sep 17 00:00:00 2001 From: yubiuser Date: Mon, 20 Oct 2025 09:22:21 +0200 Subject: [PATCH 2/2] Apply suggestion from @rdwebdesign Co-authored-by: RD WebDesign Signed-off-by: yubiuser --- gravity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gravity.sh b/gravity.sh index 1cd422e1..5720ca41 100755 --- a/gravity.sh +++ b/gravity.sh @@ -1130,7 +1130,7 @@ fi if [[ "${forceDelete:-}" == true ]]; then str="Deleting existing list cache" - echo -ne "${INFO} ${str}..." + echo -ne " ${INFO} ${str}..." rm "${listsCacheDir}/list.*" 2>/dev/null || true echo -e "${OVER} ${TICK} ${str}"