double install exit

This commit is contained in:
qo-op 2021-02-18 15:30:51 +01:00
parent f2ed48acbd
commit 56b19ba5d6
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@
########################################################################
{
[ $(id -u) -eq 0 ] && echo "LANCEMENT root INTERDIT. Utilisez un simple utilisateur du groupe \"sudo\" SVP" && exit 1
[[ -f ~/.zen/secret.june ]] && echo "Installation déjà faite. Vos identifiants https://gchange.fr sont," && cat ~/.zen/secret.june && exit 1
# Check requirements
echo "AstrXbian installateur pour https://xbian.org et autres ditributions basées sur DEBIAN"
@ -16,6 +17,7 @@ sudo apt-get install build-essential qrencode jq bc gawk ffmpeg sqlite dnsutils
[[ ! $(which apache2) ]] && sudo apt-get install mariadb-server nginx ssl-cert php-imap php-cli php-curl php-sqlite3 php-gd php-json php-xml php-mbstring php-gettext php-mysql php-fpm -y
pip3 install cryptography Ed25519 base58 google protobuf duniterpy
########################################################################
echo "Clonage git astrXbian depuis https://git.p2p.legal"
mkdir -p ~/.zen