This commit is contained in:
fred 2023-04-02 16:53:37 +02:00
parent cd5956a651
commit 45447d1689
2 changed files with 11 additions and 3 deletions

View File

@ -159,7 +159,7 @@ Content-Type: text/html; charset=UTF-8
</style> </style>
</head> </head>
<body> <body>
<center><h1><a href="javascript:history.go(-1)">(♥‿‿♥)</a>.</h1></center> <center><h1><a href="'$RNAME'">(♥‿‿♥)</a>.</h1></center>
<center><div id="countdown"></div></center> <center><div id="countdown"></div></center>
<script> <script>
var timeLeft = 30; var timeLeft = 30;

View File

@ -9,10 +9,18 @@ MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
ME="${0##*/}" ME="${0##*/}"
echo "#############################################" echo "#############################################"
echo ">>>>>>>>>>> SYSTEMD SETUP " echo ">>>>>>>>>>> INSTALL CRYPTO AND IMAGING TOOLS "
echo "#############################################" echo "#############################################"
sudo apt-get update
sudo apt install python3 python3-pip imagemagick qrencode ttf-mscorefonts-installer netcat-traditional python3-gpg for i in gpg python3 python3-pip imagemagick qrencode ttf-mscorefonts-installer netcat-traditional python3-gpg; do
if [ $(dpkg-query -W -f='${Status}' $i 2>/dev/null | grep -c "ok installed") -eq 0 ]; then
echo ">>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Installation $i <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"
sudo apt install -y $i
[[ $? != 0 ]] && echo "INSTALL $i FAILED." && echo "INSTALL $i FAILED." && continue
fi
done
for i in pip setuptools wheel cryptography==3.4.8 Ed25519 base58 google duniterpy pynacl pgpy pynentry SecureBytes amzqr; do for i in pip setuptools wheel cryptography==3.4.8 Ed25519 base58 google duniterpy pynacl pgpy pynentry SecureBytes amzqr; do
echo ">>> Installation $i <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<" echo ">>> Installation $i <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"