diff options
Diffstat (limited to 'mkosi.postinst')
-rwxr-xr-x | mkosi.postinst | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/mkosi.postinst b/mkosi.postinst index 83443b7..6f25764 100755 --- a/mkosi.postinst +++ b/mkosi.postinst @@ -21,9 +21,14 @@ useradd --system --gid warez --uid 997 warez add-apt-repository --yes ppa:jcfp/nobetas add-apt-repository --yes ppa:jcfp/sab-addons -apt-get install --yes sabnzbdplus python-sabyenc par2-tbb python-pip +apt-get install --yes sabnzbdplus python3-sabyenc par2-tbb python3-pip -pip install --no-cache-dir apprise chardet pynzb requests sabyenc +pip3 install --no-cache-dir apprise chardet pynzb requests sabyenc -apt-get purge --auto-remove --yes python-pip +apt-get purge --auto-remove --yes python3-pip apt-get clean + +sed -i 's/USER=/USER=warez/' /etc/default/sabnzbdplus +sed -i 's/CONFIG=/CONFIG=\/config/' /etc/default/sabnzbdplus +sed -i 's/HOST=/HOST=0.0.0.0/' /etc/default/sabnzbdplus +sed -i 's/PORT=/PORT=8080/' /etc/default/sabnzbdplus |