mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Added check if the proper packages are installed
This commit is contained in:
parent
71801572bd
commit
bf5d02f3bb
@ -8,6 +8,7 @@
|
||||
#
|
||||
# curl https://samerickson.me/files/flag-emojis > ~/.local/share/flag-emojis
|
||||
#
|
||||
ifinstalled "$geoiplookup" || exit
|
||||
addr="$(curl ifconfig.me 2>/dev/null)"
|
||||
country="$(geoiplookup $addr | awk '{print $5}')"
|
||||
printf "%s" "$(sed -n /$country/p ~/.local/share/larbs/flag-emojis)"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user