Moved the apt install ...
commands to the begining
This commit is contained in:
parent
6f81d18795
commit
a9098f9b86
|
@ -12,6 +12,7 @@ https://termux.com/
|
||||||
### Install youtube-dl
|
### Install youtube-dl
|
||||||
|
|
||||||
termux-setup-storage &&
|
termux-setup-storage &&
|
||||||
|
apt update && apt upgrade && apt install python ffmpeg && pip install youtube-dl &&
|
||||||
mkdir -p ~/.config/youtube-dl &&
|
mkdir -p ~/.config/youtube-dl &&
|
||||||
echo "# Default Output Directory and Pattern
|
echo "# Default Output Directory and Pattern
|
||||||
-o /data/data/com.termux/files/home/storage/downloads/%(extractor_key)s/%(uploader)s/%(title)s-%(id)s.%(ext)s" > ~/.config/youtube-dl/config &&
|
-o /data/data/com.termux/files/home/storage/downloads/%(extractor_key)s/%(uploader)s/%(title)s-%(id)s.%(ext)s" > ~/.config/youtube-dl/config &&
|
||||||
|
@ -19,8 +20,7 @@ https://termux.com/
|
||||||
echo "#!/bin/bash
|
echo "#!/bin/bash
|
||||||
url=$1
|
url=$1
|
||||||
youtube-dl $url" > ~/bin/termux-url-opener &&
|
youtube-dl $url" > ~/bin/termux-url-opener &&
|
||||||
chmod +x ~/bin/termux-url-opener &&
|
chmod +x ~/bin/termux-url-opener
|
||||||
apt update && apt upgrade && apt install python ffmpeg && pip install youtube-dl
|
|
||||||
|
|
||||||
### Extras (install nano, and add special keys to keyboard)
|
### Extras (install nano, and add special keys to keyboard)
|
||||||
mkdir ~/.termux
|
mkdir ~/.termux
|
||||||
|
@ -32,6 +32,7 @@ https://termux.com/
|
||||||
|
|
||||||
### All-In-One (youtube-dl + extras)
|
### All-In-One (youtube-dl + extras)
|
||||||
termux-setup-storage &&
|
termux-setup-storage &&
|
||||||
|
apt update && apt upgrade && apt install nano python ffmpeg && pip install youtube-dl &&
|
||||||
mkdir -p ~/.config/youtube-dl &&
|
mkdir -p ~/.config/youtube-dl &&
|
||||||
echo "# Default Output Directory and Pattern
|
echo "# Default Output Directory and Pattern
|
||||||
-o /data/data/com.termux/files/home/storage/downloads/%(extractor_key)s/%(uploader)s/%(title)s-%(id)s.%(ext)s" > ~/.config/youtube-dl/config &&
|
-o /data/data/com.termux/files/home/storage/downloads/%(extractor_key)s/%(uploader)s/%(title)s-%(id)s.%(ext)s" > ~/.config/youtube-dl/config &&
|
||||||
|
@ -44,5 +45,4 @@ https://termux.com/
|
||||||
echo "extra-keys = [ \
|
echo "extra-keys = [ \
|
||||||
['ESC', '/', '|', 'HOME', 'UP', 'END', 'PGUP', '-'], \
|
['ESC', '/', '|', 'HOME', 'UP', 'END', 'PGUP', '-'], \
|
||||||
['TAB','CTRL', 'ALT', 'LEFT', 'DOWN', 'RIGHT', 'PGDN', '~'] \
|
['TAB','CTRL', 'ALT', 'LEFT', 'DOWN', 'RIGHT', 'PGDN', '~'] \
|
||||||
]" > ~/.termux/termux.properties &&
|
]" > ~/.termux/termux.properties
|
||||||
apt update && apt upgrade && apt install nano python ffmpeg && pip install youtube-dl
|
|
Loading…
Reference in New Issue
Block a user