diff --git a/nbr-wallets.sh b/nbr-wallets.sh index 5d14963..66b5c0d 100755 --- a/nbr-wallets.sh +++ b/nbr-wallets.sh @@ -5,6 +5,7 @@ DUNITER="https://duniter-g1.p2p.legal" indexhtml="index.html" ### +[[ -z $(which jq) || -z $(which bc) ]] && apt update && apt install jq bc echo "Initialisation ..." id=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) outFile="/tmp/g1-stats_$id"