From 4ffc2ffef67d57c40cbe88883e39e8e4543ff4cf Mon Sep 17 00:00:00 2001 From: konsthol Date: Sun, 5 Jan 2025 13:30:05 +0200 Subject: [PATCH] Fix hard-coded [object Object] string (thanks!) --- grpoppro | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/grpoppro b/grpoppro index 32070ab..3db1a3c 100755 --- a/grpoppro +++ b/grpoppro @@ -601,9 +601,11 @@ fi : "${menu:=fuzzel -d -p }" # Ensure curl-impersonate is installed -if ! command -v curl-impersonate-ff >/dev/null 2>&1; then - message "You should get curl-impersonate to make it seem less obvious you use curl" - exit 0 +if [[ "$OSTYPE" == "linux-gnu" ]]; then + if ! command -v curl-impersonate-ff >/dev/null 2>&1; then + message "You should get curl-impersonate to make it seem less obvious you use curl" + exit 0 + fi fi # Make sure the data directory exists