Merge remote-tracking branch 'office/main'

This commit is contained in:
Geoffrey Frogeye 2024-02-03 19:40:42 +01:00
commit 11c1c8d9f1

View file

@ -1,8 +1,8 @@
#!/usr/bin/env nix-shell
#! nix-shell -i bash --pure
#! nix-shell -p bash jq curl findutils coreutils
#! nix-shell -p bash jq curl cacert findutils coreutils
set -euo pipefail
set -euxo pipefail
url="https://ip.frogeye.fr/json"
cachedir="$HOME/.cache/lip"
@ -16,7 +16,6 @@ then
jq_sel="$@"
fi
if [ -n "$ip" ]
then
cachefile="$cachedir/$ip"