aboutsummaryrefslogtreecommitdiff
path: root/share/hoarder/youtube-dl/unix/linux/debian/install
diff options
context:
space:
mode:
Diffstat (limited to 'share/hoarder/youtube-dl/unix/linux/debian/install')
-rwxr-xr-xshare/hoarder/youtube-dl/unix/linux/debian/install19
1 files changed, 19 insertions, 0 deletions
diff --git a/share/hoarder/youtube-dl/unix/linux/debian/install b/share/hoarder/youtube-dl/unix/linux/debian/install
new file mode 100755
index 0000000..a28ce64
--- /dev/null
+++ b/share/hoarder/youtube-dl/unix/linux/debian/install
@@ -0,0 +1,19 @@
+#!/usr/bin/env sh
+#
+# Install youtube-dl
+# https://youtube-dl.org
+# https://github.com/ytdl-org/youtube-dl
+
+# Parameters
+SHARE="$1"
+LIB="$2"
+
+# Include basic functions
+. $LIB/trashman/functions || exit 1
+. $LIB/trashman/debian || exit 1
+
+# Requirements
+trashman_apt_install_packages python3-pip
+
+# Install
+pip3 install --user -U youtube-dl