new & beautiful
This commit is contained in:
parent
f183544267
commit
a104b7c86c
10
install.sh
10
install.sh
|
@ -9,15 +9,19 @@ MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
|
||||||
ME="${0##*/}"
|
ME="${0##*/}"
|
||||||
start=`date +%s`
|
start=`date +%s`
|
||||||
|
|
||||||
[ $(id -u) -eq 0 ] && echo "LANCEMENT root INTERDIT. Utilisez un simple utilisateur du groupe \"sudo\" : su -; usermod -aG sudo $USER" && exit 1
|
################################################################## SUDO
|
||||||
|
########################################################################
|
||||||
|
[ $(id -u) -eq 0 ] && echo "LANCEMENT root INTERDIT. " && exit 1
|
||||||
|
[[ ! $(groups | grep -w sudo) ]] && echo "AUCUN GROUPE \"sudo\" : su -; usermod -aG sudo $USER" && exit 1
|
||||||
|
################################################################### IPFS
|
||||||
########################################################################
|
########################################################################
|
||||||
[[ ! $(which ipfs) ]] \
|
[[ ! $(which ipfs) ]] \
|
||||||
&& echo "bash <(wget -qO- https://git.p2p.legal/qo-op/Astroport.ONE/raw/branch/master/kubo_v0.16.0_linux-amd64.install.sh)" \
|
&& echo "bash <(wget -qO- https://git.p2p.legal/qo-op/Astroport.ONE/raw/branch/master/kubo_v0.16.0_linux-amd64.install.sh)" \
|
||||||
&& [[ $(uname -p) == "x86_64" ]] \
|
&& [[ $(uname -p) == "x86_64" ]] \
|
||||||
&& bash <(wget -qO- https://git.p2p.legal/qo-op/Astroport.ONE/raw/branch/master/kubo_v0.16.0_linux-amd64.install.sh) \
|
&& bash <(wget -qO- https://git.p2p.legal/qo-op/Astroport.ONE/raw/branch/master/kubo_v0.16.0_linux-amd64.install.sh) \
|
||||||
|| echo "=== Installez IPFS KUBO puis relancez Install ==="
|
|| echo "=== Installez IPFS KUBO puis relancez Install ==="
|
||||||
|
[[ ! $(which ipfs) ]] && echo "INSTALL IPFS PLEASE" && exit 1
|
||||||
|
#################################################################### TEST
|
||||||
|
|
||||||
# MAIN # SI AUCUNE CLEF DE STATION...
|
# MAIN # SI AUCUNE CLEF DE STATION...
|
||||||
if [[ ! -d ~/.zen/game/players/ ]];
|
if [[ ! -d ~/.zen/game/players/ ]];
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -97,7 +97,7 @@ if [[ $SALT != "" && PEPPER != "" ]]; then
|
||||||
|
|
||||||
fi
|
fi
|
||||||
################################################################################
|
################################################################################
|
||||||
TWMODEL="/ipfs/bafybeig6a63ub73w4gvhzggqmmiitwqrx4ulon6i2cq3s5k4f63gj62c4a"
|
TWMODEL="ipfs/bafybeihcvuaswgl65xwmrn7jpbbx5onvpryty3ctx3dbxqlubjqbft7sue"
|
||||||
# ipfs cat $TWMODEL > templates/twdefault.html
|
# ipfs cat $TWMODEL > templates/twdefault.html
|
||||||
##################################################### # NEW PLAYER ###############
|
##################################################### # NEW PLAYER ###############
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
Loading…
Reference in New Issue