export PATH=$PATH:~/.local/bin

This commit is contained in:
qo-op 2020-05-02 03:36:12 +02:00
parent 1af12fc515
commit 873929bb8a
1 changed files with 6 additions and 4 deletions

View File

@ -34,14 +34,15 @@ fi
cd ~/.zen/astroport
# INSTALL Silkaj, CLI for Duniter
if [[ ! -f /home/pi/.local/bin/silkaj ]]; then
echo '**************************************************************
echo '**************************************************************
__ ___
(_ | | |/ /\ |
__) _|_ |_ |\ /--\ \_|
#Duniter communication client...
'
export PATH=$PATH:~/.local/bin
if [[ ! $(which silkaj) ]]; then
sudo apt update || true
libzzz=$(sudo apt-cache search libsodium | awk '{print $1}' | grep libsodium2)
sudo apt install build-essential jq $libzzz -y
@ -52,8 +53,6 @@ __) _|_ |_ |\ /--\ \_|
fi
# INSTALL sbotc
if [[ ! $(which sbotc) ]]; then
echo '
__ __
_____/ /_ ____ / /______
@ -63,6 +62,9 @@ echo '
ScuttleButt communication client...
'
if [[ ! $(which sbotc) ]]; then
sudo apt install libsodium-dev build-essential jq -y
cd /tmp/
git clone https://git.scuttlebot.io/%25133ulDgs%2FoC1DXjoK04vDFy6DgVBB%2FZok15YJmuhD5Q%3D.sha256 sbotc