diff --git a/include.sh b/include.sh index e15492a..8ce0c42 100644 --- a/include.sh +++ b/include.sh @@ -15,12 +15,6 @@ check_requirements() { # 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() { echo 'v0.4' } @@ -32,3 +26,13 @@ i_am_root() { i_should_install() { [[ ! -f ~/.zen/secret.june ]] } + +import_astrXbian() { + mkdir -p ~/.zen + cd ~/.zen + git clone https://git.p2p.legal/axiom-team/astrXbian.git +} + +import_kodi() { + cp -Rf ~/.zen/astrXbian/.install/.kodi ~/ +} diff --git a/install.sh b/install.sh index 349461c..fd1b9f6 100755 --- a/install.sh +++ b/install.sh @@ -17,11 +17,11 @@ echo "AstrXbian installateur pour XBIAN (https://xbian.org) et ditributions DEBI check_requirements ######################################################################## echo "Clonage git astrXbian depuis https://git.p2p.legal" -git_clone +import_astrXbian ######################################################################## echo "IMPORT configuration ASTROPORT dans ~/.kodi" -cp -Rf ~/.zen/astrXbian/.install/.kodi ~/ +import_kodi ######################################################################## echo "Installation de IPFS https://ipfs.io"