From e9e1fd989dba1ee87fcf7fe50a66fa43ec327ad9 Mon Sep 17 00:00:00 2001 From: "aynic.os" Date: Wed, 12 May 2021 17:36:31 +0200 Subject: [PATCH] test --- include.sh | 30 ++++++++++++++++++------------ install.sh | 4 +--- 2 files changed, 19 insertions(+), 15 deletions(-) diff --git a/include.sh b/include.sh index 15395ab..e15492a 100644 --- a/include.sh +++ b/include.sh @@ -1,18 +1,24 @@ #!/bin/sh check_requirements() { -sudo apt-get update -sudo apt-get install git fail2ban inotify-tools curl net-tools libsodium* python3-dev python3-pip python3-setuptools python3-wheel python3-dotenv mpack libssl-dev libffi-dev -y -sudo apt-get install build-essential qrencode jq bc gawk ffmpeg sqlite dnsutils v4l-utils vlc mp3info musl-dev openssl* cargo detox httrack -y -[[ ! $(which kodi) && "$USER" != "xbian" ]] && sudo apt-get install kodi -y -sudo apt-get install python3-opencv -y -[[ "$USER" != "xbian" ]] && sudo apt-get install x11-utils zenity handbrake* -y -## INSTALL PYTHON CRYPTO LAYER -echo 'export PATH=$PATH:$HOME/.local/bin' >> ~/.bashrc && source ~/.bashrc -python3 -m pip install -U pip -python3 -m pip install -U setuptools wheel -python3 -m pip install -U cryptography Ed25519 base58 google protobuf duniterpy -# python3 -m pip install -U silkaj + sudo apt-get update + sudo apt-get install git fail2ban inotify-tools curl net-tools libsodium* python3-dev python3-pip python3-setuptools python3-wheel python3-dotenv mpack libssl-dev libffi-dev -y + sudo apt-get install build-essential qrencode jq bc gawk ffmpeg sqlite dnsutils v4l-utils vlc mp3info musl-dev openssl* cargo detox httrack -y + [[ ! $(which kodi) && "$USER" != "xbian" ]] && sudo apt-get install kodi -y + sudo apt-get install python3-opencv -y + [[ "$USER" != "xbian" ]] && sudo apt-get install x11-utils zenity handbrake* -y + ## INSTALL PYTHON CRYPTO LAYER + echo 'export PATH=$PATH:$HOME/.local/bin' >> ~/.bashrc && source ~/.bashrc + python3 -m pip install -U pip + python3 -m pip install -U setuptools wheel + python3 -m pip install -U cryptography Ed25519 base58 google protobuf duniterpy + # python3 -m pip install -U silkaj +} + +git_clone() { + mkdir -p ~/.zen + cd ~/.zen + git clone https://git.p2p.legal/axiom-team/astrXbian.git } i_am() { diff --git a/install.sh b/install.sh index 2e669d9..349461c 100755 --- a/install.sh +++ b/install.sh @@ -17,9 +17,7 @@ echo "AstrXbian installateur pour XBIAN (https://xbian.org) et ditributions DEBI check_requirements ######################################################################## echo "Clonage git astrXbian depuis https://git.p2p.legal" -mkdir -p ~/.zen -cd ~/.zen -git clone https://git.p2p.legal/axiom-team/astrXbian.git +git_clone ######################################################################## echo "IMPORT configuration ASTROPORT dans ~/.kodi"