From 310149b410da8a02bf594e2b275129194045d22c Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 15 Dec 2022 23:07:37 -0600 Subject: [PATCH] fix bug w/ gammastep init.sh --- gammastep-init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gammastep-init.sh b/gammastep-init.sh index ca3b283..3b94add 100755 --- a/gammastep-init.sh +++ b/gammastep-init.sh @@ -8,7 +8,7 @@ JSFN="$HOME/.cache/gs_geoclue.json" FN="$HOME/.cache/gs_geoclue.txt" -curl -Ls https://ipapi.co/json > "$FN".tmp +curl -Ls https://ipapi.co/json > "$JSFN".tmp #dont update file if error received, could also check if an error flag is present if [ "$(cat "$JSFN".tmp | wc -l)" -gt 4 ]; then