SHARE
TWEET

Untitled

a guest Feb 16th, 2020 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/data/data/com.termux/files/usr/bin/bash
  2.  
  3. echo -e "Mise à jour des packages\n"
  4. apt update && apt -y upgrade
  5.  
  6. echo -e "Demande des permissions le stockage\n"
  7. termux-setup-storage
  8. sleep 5
  9.  
  10. echo -e "Installation de python\n"
  11. packages install -y python
  12.  
  13. echo -e "Installation de youtube-dl\n"
  14. yes | pip install youtube-dl
  15.  
  16. echo -e "Création du dossier de destination\n"
  17. mkdir ~/storage/dcim/Downloads
  18.  
  19. echo -e "Création du dossier de config\n"
  20. mkdir -p ~/.config/youtube-dl
  21.  
  22. echo -e "Création du dossier bin\n"
  23. mkdir ~/bin
  24.  
  25. echo -e "Télechargement et installation de termux-url-opener\n"
  26. wget https://pastebin.com/raw/ZdCspSXQ -O ~/bin/termux-url-opener
  27. dos2unix ~/bin/termux-url-opener
  28.  
  29.  
  30. echo -e "\n"
  31. echo -e "Copyright 2017 Gabi Tiplea\n"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top