diff --git a/install.sh b/install.sh index d507d75..a3f1253 100755 --- a/install.sh +++ b/install.sh @@ -47,7 +47,7 @@ python3 -m pip install -U pip python3 -m pip install -U setuptools wheel python3 -m pip install -U cryptography Ed25519 base58 google protobuf duniterpy if [[ "$USER" == "pi" ]]; then ## PROPOSE QR_CODE PRINTER - echo "INSTALLER ACCES SMS ET IMPRIMANTE A QR CODE? saisissez OUI, sinon tapez sur ENTREE" + echo "SOUHAITEZ VOUS AJOUTER UNE IMPRIMANTE A QR CODE? saisissez OUI, sinon tapez sur ENTREE" read saisie if [[ $saisie != "" ]]; then sudo apt install printer-driver-all cups -y @@ -78,7 +78,7 @@ echo "Installation de IPFS https://ipfs.io" ~/.zen/astrXbian/.install/ipfs_alone.sh ######################################################################## -echo "Configuration jaklis: Centre de communication GCHANGE+" +echo "Configuration jaklis: Centre de communication CESIUM+ GCHANGE+ & MONNAIE LIBRE (gva protocole)" cd ~/.zen/astrXbian/zen/jaklis ./setup.sh @@ -117,19 +117,16 @@ fi mkdir -p ~/astroport/film mkdir -p ~/astroport/serie mkdir -p ~/astroport/anime +echo '${TYPE};${MEDIAID};${YEAR};${TITLE};${SAISON};${GENRES};${GROUPES};${RES};/ipfs/_IPFSREPFILEID_/$URLENCODE_FILE_NAME' > ~/astroport/ajouter_video.modele.txt ## PREPARE www EXCHANGE ZONE ~/astroport/www wwwuser=$(ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1) || wwuser="www-data" -mkdir -p ~/astroport/www -mkdir -p ~/astroport/www/audio -mkdir -p ~/astroport/www/video -mkdir -p ~/astroport/www/site sudo chown -R $USER:$wwwuser ~/astroport/www sudo chmod -R g+rw ~/astroport/www ####################################################################### ## CREATE symlinks for ~/.zen/www/swarm & me -sudo chown -R $USER:www-data /.zen/astrXbian/www/boris -sudo chmod -R g+rw /.zen/astrXbian/www/boris +sudo chown -R $USER:www-data ~/.zen/astrXbian/www/boris +sudo chmod -R g+rw ~/.zen/astrXbian/www/boris ln -s /home/$USER/.zen/ipfs_swarm ~/.zen/astrXbian/www/boris/swarm ln -s /home/$USER/.zen/ipfs ~/.zen/astrXbian/www/boris/me