Advertisement
karim0209

termux-file-editor 24082023

Aug 24th, 2023 (edited)
312
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.  
  3. echo -e "Updating default packages\n"
  4. apt update && apt -y upgrade
  5.  
  6. echo -e "Requesting acces to storage\n"
  7. termux-setup-storage
  8. sleep 5
  9.  
  10. echo -e "Installing imagemagick\n"
  11. pkg install -y imagemagick
  12.  
  13. echo -e "Installing ghostscript\n"
  14. pkg install -y ghostscript
  15.  
  16. echo -e "Installing nano\n"
  17. pkg install -y nano
  18.  
  19. echo -e "Installing man\n"
  20. pkg install -y man
  21.  
  22. echo -e "Installing lynx\n"
  23. pkg install -y lynx
  24.  
  25. echo -e "Installing curl\n"
  26. pkg install -y curl
  27.  
  28. echo -e "Installing qpdf\n"
  29. pkg install -y qpdf
  30.  
  31. echo -e "Creating bin directory\n"
  32. mkdir ~/bin
  33.  
  34. echo -e "Creating convertedFiles directory\n"
  35. mkdir ~/storage/shared/convertedFiles
  36.  
  37. echo -e "Downloading and installing termux-file-editor\n"
  38. wget https://pastebin.com/raw/2vQqY7bx -O ~/bin/termux-file-editor
  39. dos2unix ~/bin/termux-file-editor
  40.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement