|
|
@ -19,6 +19,11 @@ msg_info "Installing Dependencies"
|
|
|
|
$STD apt-get install -y --no-install-recommends \
|
|
|
|
$STD apt-get install -y --no-install-recommends \
|
|
|
|
build-essential \
|
|
|
|
build-essential \
|
|
|
|
curl \
|
|
|
|
curl \
|
|
|
|
|
|
|
|
aria2 \
|
|
|
|
|
|
|
|
coreutils \
|
|
|
|
|
|
|
|
gcc \
|
|
|
|
|
|
|
|
g++ \
|
|
|
|
|
|
|
|
musl-dev \
|
|
|
|
sudo \
|
|
|
|
sudo \
|
|
|
|
ffmpeg \
|
|
|
|
ffmpeg \
|
|
|
|
git \
|
|
|
|
git \
|
|
|
@ -60,6 +65,7 @@ cat <<EOF >/opt/metube/.env
|
|
|
|
DOWNLOAD_DIR=/opt/metube_downloads
|
|
|
|
DOWNLOAD_DIR=/opt/metube_downloads
|
|
|
|
STATE_DIR=/opt/metube_downloads/.metube
|
|
|
|
STATE_DIR=/opt/metube_downloads/.metube
|
|
|
|
TEMP_DIR=/opt/metube_downloads
|
|
|
|
TEMP_DIR=/opt/metube_downloads
|
|
|
|
|
|
|
|
YTDL_OPTIONS={"trim_file_name":10}
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
msg_ok "Installed MeTube"
|
|
|
|
msg_ok "Installed MeTube"
|
|
|
|
|
|
|
|
|
|
|
@ -89,4 +95,4 @@ customize
|
|
|
|
msg_info "Cleaning up"
|
|
|
|
msg_info "Cleaning up"
|
|
|
|
$STD apt-get -y autoremove
|
|
|
|
$STD apt-get -y autoremove
|
|
|
|
$STD apt-get -y autoclean
|
|
|
|
$STD apt-get -y autoclean
|
|
|
|
msg_ok "Cleaned"
|
|
|
|
msg_ok "Cleaned"
|
|
|
|