From 4a4a7862f792a85c8f131fc6131cbd9ccecfd636 Mon Sep 17 00:00:00 2001 From: Saumit Dinesan <79687674+justsaumit@users.noreply.github.com> Date: Thu, 10 Feb 2022 03:58:55 +0530 Subject: Update iplocate --- scripts/iplocate | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/iplocate') 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/;.*//" -- cgit v1.2.3