This commit is contained in:
aynic.os 2021-05-12 17:41:30 +02:00
parent e9e1fd989d
commit fba00c3225
2 changed files with 12 additions and 8 deletions

View File

@ -15,12 +15,6 @@ check_requirements() {
# python3 -m pip install -U silkaj # 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() { i_am() {
echo 'v0.4' echo 'v0.4'
} }
@ -32,3 +26,13 @@ i_am_root() {
i_should_install() { i_should_install() {
[[ ! -f ~/.zen/secret.june ]] [[ ! -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 ~/
}

View File

@ -17,11 +17,11 @@ echo "AstrXbian installateur pour XBIAN (https://xbian.org) et ditributions DEBI
check_requirements check_requirements
######################################################################## ########################################################################
echo "Clonage git astrXbian depuis https://git.p2p.legal" echo "Clonage git astrXbian depuis https://git.p2p.legal"
git_clone import_astrXbian
######################################################################## ########################################################################
echo "IMPORT configuration ASTROPORT dans ~/.kodi" echo "IMPORT configuration ASTROPORT dans ~/.kodi"
cp -Rf ~/.zen/astrXbian/.install/.kodi ~/ import_kodi
######################################################################## ########################################################################
echo "Installation de IPFS https://ipfs.io" echo "Installation de IPFS https://ipfs.io"