summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/iplocate3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/iplocate b/scripts/iplocate
index 02adab8..1fcb696 100644
--- a/scripts/iplocate
+++ b/scripts/iplocate
@@ -5,6 +5,5 @@
#
# https://www.maketecheasier.com/ip-address-geolocation-lookups-linux/
-ifinstalled "geoip" || exit
addr="$(curl ifconfig.me 2>/dev/null)" || exit
-grep "flag: " "${XDG_DATA_HOME:-$HOME/.local/share}/larbs/emoji" | grep "$(geoiplookup "$addr" | sed 's/.*, //')" | sed "s/flag: //;s/;.*//"
+grep "flag: " "${XDG_DATA_HOME:-$HOME/.local/share}/emoji" | grep "$(geoiplookup "$addr" | sed 's/.*, //')" | sed "s/flag: //;s/;.*//"