#!/bin/bash if ! command -v pip &> /dev/null;then echo 'Please make sure that pip is installed and in $PATH' exit 1 fi pip install "jsonrpcclient[requests]>2,<3" if ! [[ -f .apikey ]];then echo 'Please provide basic random.org API-Key and confirm with Return' read -r apikey echo $apikey>.apikey fi