summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaumit Dinesan <79687674+justsaumit@users.noreply.github.com>2022-02-10 03:58:55 +0530
committerGitHub <noreply@github.com>2022-02-10 03:58:55 +0530
commit4a4a7862f792a85c8f131fc6131cbd9ccecfd636 (patch)
tree43015cc7248c3b5a4a55ef5bdea978f9f3c07bc2
parent516bd06ae0cf7b812e79d69045bf4a189733c4ce (diff)
Update iplocate
-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/;.*//"