LANCEMENT root INTERDIT. Utilisez un simple utilisateur du groupe "sudo" SVP

This commit is contained in:
fred 2022-11-25 15:32:19 +01:00
parent 0f878e922b
commit 9f83ac5468
2 changed files with 5 additions and 1 deletions

View File

@ -12,7 +12,10 @@ start=`date +%s`
[ $(id -u) -eq 0 ] && echo "LANCEMENT root INTERDIT. Utilisez un simple utilisateur du groupe \"sudo\" SVP" && exit 1
########################################################################
[[ ! $(which ipfs) ]] && echo "=== Installez IPFS KUBO !!" && echo "https://docs.ipfs.io/install/command-line/#official-distributions" && exit 1
[[ ! $(which ipfs) ]] \
&& echo "=== Installez IPFS KUBO puis relancez Install ===" \
&& echo "bash <(wget -qO- https://git.p2p.legal/qo-op/Astroport.ONE/raw/branch/master/kubo_v0.16.0_linux-amd64.install.sh)" \
&& exit 1
#### GIT CLONE ###############################################################
[[ ! $(which git) ]] && sudo apt install -y git

View File

@ -1,4 +1,5 @@
#!/bin/bash
[ $(id -u) -eq 0 ] && echo "LANCEMENT root INTERDIT. Utilisez un simple utilisateur du groupe \"sudo\" SVP" && exit 1
mkdir ~/.zen/tmp
cd ~/.zen/tmp
wget https://dist.ipfs.tech/kubo/v0.17.0/kubo_v0.17.0_linux-amd64.tar.gz