Update sabnzbd-install.sh
This commit is contained in:
parent
cc27c7d79c
commit
b5ad304ade
@ -37,8 +37,7 @@ RELEASE=$(curl -fsSL https://api.github.com/repos/sabnzbd/sabnzbd/releases/lates
|
|||||||
mkdir -p /opt/sabnzbd
|
mkdir -p /opt/sabnzbd
|
||||||
uv venv /opt/sabnzbd/venv
|
uv venv /opt/sabnzbd/venv
|
||||||
$STD tar zxvf <(curl -fsSL https://github.com/sabnzbd/sabnzbd/releases/download/${RELEASE}/SABnzbd-${RELEASE}-src.tar.gz) -C /opt/sabnzbd --strip-components=1
|
$STD tar zxvf <(curl -fsSL https://github.com/sabnzbd/sabnzbd/releases/download/${RELEASE}/SABnzbd-${RELEASE}-src.tar.gz) -C /opt/sabnzbd --strip-components=1
|
||||||
/opt/sabnzbd/venv/bin/pip install --upgrade pip
|
uv pip install -r /opt/sabnzbd/requirements.txt --python=/opt/sabnzbd/venv/bin/python
|
||||||
/opt/sabnzbd/venv/bin/pip install -r /opt/sabnzbd/requirements.txt
|
|
||||||
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
|
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
|
||||||
msg_ok "Installed SABnzbd"
|
msg_ok "Installed SABnzbd"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user