Advertisement
Guest User

Untitled

a guest
Feb 16th, 2020
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement