fix bug w/ gammastep init.sh

master
Alex 2022-12-15 23:07:37 -06:00
parent 258e165b47
commit 310149b410
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ JSFN="$HOME/.cache/gs_geoclue.json"
FN="$HOME/.cache/gs_geoclue.txt" 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 #dont update file if error received, could also check if an error flag is present
if [ "$(cat "$JSFN".tmp | wc -l)" -gt 4 ]; then if [ "$(cat "$JSFN".tmp | wc -l)" -gt 4 ]; then