Add dependences installation

This commit is contained in:
poka 2019-10-29 05:29:10 +01:00
parent 58945570b8
commit 981184a478
1 changed files with 1 additions and 0 deletions

View File

@ -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"