Update sabnzbd-install.sh

This commit is contained in:
CanbiZ 2025-04-29 13:38:32 +02:00
parent 1da87a0b8a
commit 219034b092

View File

@ -41,10 +41,10 @@ RELEASE=$(curl -fsSL https://api.github.com/repos/sabnzbd/sabnzbd/releases/lates
$STD tar zxvf <(curl -fsSL https://github.com/sabnzbd/sabnzbd/releases/download/$RELEASE/SABnzbd-${RELEASE}-src.tar.gz)
mv SABnzbd-${RELEASE} /opt/sabnzbd
python3 -m venv /opt/sabnzbd/venv
$STD python3 -m venv /opt/sabnzbd/venv
source /opt/sabnzbd/venv/bin/activate
pip install --upgrade pip
pip install -r /opt/sabnzbd/requirements.txt
$STD pip install --upgrade pip
$STD pip install -r /opt/sabnzbd/requirements.txt
deactivate
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt