Update sabnzbd-install.sh
This commit is contained in:
parent
1da87a0b8a
commit
219034b092
@ -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)
|
$STD tar zxvf <(curl -fsSL https://github.com/sabnzbd/sabnzbd/releases/download/$RELEASE/SABnzbd-${RELEASE}-src.tar.gz)
|
||||||
mv SABnzbd-${RELEASE} /opt/sabnzbd
|
mv SABnzbd-${RELEASE} /opt/sabnzbd
|
||||||
|
|
||||||
python3 -m venv /opt/sabnzbd/venv
|
$STD python3 -m venv /opt/sabnzbd/venv
|
||||||
source /opt/sabnzbd/venv/bin/activate
|
source /opt/sabnzbd/venv/bin/activate
|
||||||
pip install --upgrade pip
|
$STD pip install --upgrade pip
|
||||||
pip install -r /opt/sabnzbd/requirements.txt
|
$STD pip install -r /opt/sabnzbd/requirements.txt
|
||||||
deactivate
|
deactivate
|
||||||
|
|
||||||
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
|
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user