mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-31 04:54:43 +00:00
ensure_dependencies
This commit is contained in:
+1
-1
@@ -65,7 +65,7 @@ EOF
|
|||||||
|
|
||||||
if ! command -v pip >/dev/null 2>&1 || ! pip show yt-dlp-ejs >/dev/null 2>&1; then
|
if ! command -v pip >/dev/null 2>&1 || ! pip show yt-dlp-ejs >/dev/null 2>&1; then
|
||||||
msg_info "Installing external JavaScript Extension for yt-dlp"
|
msg_info "Installing external JavaScript Extension for yt-dlp"
|
||||||
$STD apt install -y python3-pip
|
ensure_dependencies python3-pip
|
||||||
$STD pip install -U yt-dlp-ejs
|
$STD pip install -U yt-dlp-ejs
|
||||||
msg_ok "Installed external JavaScript Extension for yt-dlp"
|
msg_ok "Installed external JavaScript Extension for yt-dlp"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user