fixes
This commit is contained in:
parent
3958172e81
commit
72d0a01382
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/python_to_uv/misc/build.func)
|
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
|
||||||
# Copyright (c) 2021-2025 tteck
|
# Copyright (c) 2021-2025 tteck
|
||||||
# Author: MickLesk (Canbiz)
|
# Author: MickLesk (Canbiz)
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
@ -78,6 +78,7 @@ function update_script() {
|
|||||||
$STD /opt/metube/.venv/bin/python -m pip install --upgrade pip
|
$STD /opt/metube/.venv/bin/python -m pip install --upgrade pip
|
||||||
$STD /opt/metube/.venv/bin/python -m pip install pipenv
|
$STD /opt/metube/.venv/bin/python -m pip install pipenv
|
||||||
$STD /opt/metube/.venv/bin/pipenv install
|
$STD /opt/metube/.venv/bin/pipenv install
|
||||||
|
$STD /opt/metube/.venv/bin/pipenv update yt-dlp
|
||||||
|
|
||||||
msg_info "Patching systemd Service"
|
msg_info "Patching systemd Service"
|
||||||
cat <<EOF >/etc/systemd/system/metube.service
|
cat <<EOF >/etc/systemd/system/metube.service
|
||||||
|
@ -41,6 +41,7 @@ $STD /opt/metube/.venv/bin/python -m ensurepip --upgrade
|
|||||||
$STD /opt/metube/.venv/bin/python -m pip install --upgrade pip
|
$STD /opt/metube/.venv/bin/python -m pip install --upgrade pip
|
||||||
$STD /opt/metube/.venv/bin/python -m pip install pipenv
|
$STD /opt/metube/.venv/bin/python -m pip install pipenv
|
||||||
$STD /opt/metube/.venv/bin/pipenv install
|
$STD /opt/metube/.venv/bin/pipenv install
|
||||||
|
$STD /opt/metube/.venv/bin/pipenv update yt-dlp
|
||||||
|
|
||||||
mkdir -p /opt/metube_downloads /opt/metube_downloads/.metube /opt/metube_downloads/music /opt/metube_downloads/videos
|
mkdir -p /opt/metube_downloads /opt/metube_downloads/.metube /opt/metube_downloads/music /opt/metube_downloads/videos
|
||||||
cat <<EOF >/opt/metube/.env
|
cat <<EOF >/opt/metube/.env
|
||||||
|
Loading…
x
Reference in New Issue
Block a user