From 75d45bc33e71efeb2a65b64079fb579ac8938ac0 Mon Sep 17 00:00:00 2001 From: mux Date: Thu, 27 Apr 2023 11:13:26 +0200 Subject: [PATCH] added InstallDepLinux.sh --- InstallDepLinux.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 InstallDepLinux.sh diff --git a/InstallDepLinux.sh b/InstallDepLinux.sh new file mode 100644 index 0000000..c6d94e2 --- /dev/null +++ b/InstallDepLinux.sh @@ -0,0 +1,11 @@ +#!/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 \ No newline at end of file