Advertisement
voyeg3r

settermux.sh

Jul 13th, 2019
754
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.87 KB | None | 0 0
  1. #!/data/data/com.termux/files/usr/bin/bash
  2. # 4/05/2017 Gabi Tiplea
  3.  
  4. echo -e "Updating default packages"
  5. apt update && apt -y upgrade
  6.  
  7. echo -e "Requesting acces to storage"
  8. termux-setup-storage
  9. sleep 5
  10.  
  11. echo -e "Installing python"
  12. apt install python
  13.  
  14. echo -e "Installing youtube-dl"
  15. pip install youtube-dl
  16.  
  17. echo -e "Creating the Youtube folder to download the files"
  18. mkdir ~/storage/shared/Youtube
  19.  
  20. echo -e "Creating youtube-dl folder for config"
  21. mkdir -p ~/.config/youtube-dl
  22.  
  23. echo -e "Creating bin folder"
  24. mkdir ~/bin
  25.  
  26. echo -e "Downloading and installing termux-url-opener"
  27. wget http://pastebin.com/raw/LhDxGbtY -O ~/bin/termux-url-opener
  28. dos2unix ~/bin/termux-url-opener
  29. echo -e ""
  30. echo -e ""
  31. echo -e "Downloaded Files will be found in Youtube Folder in internal storage "
  32. echo -e ""
  33. echo -e "Copyright 2017 Gabi Tiplea, modified by insanetechvideos"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement