diff options
Diffstat (limited to '')
-rw-r--r-- | mkosi.default | 4 | ||||
-rwxr-xr-x | mkosi.postinst | 11 |
2 files changed, 10 insertions, 5 deletions
diff --git a/mkosi.default b/mkosi.default index 8a121fb..51cbcbe 100644 --- a/mkosi.default +++ b/mkosi.default @@ -1,6 +1,6 @@ [Distribution] Distribution=ubuntu -Release=bionic +Release=focal Repositories=main,universe,multiverse Mirror=http://no.archive.ubuntu.com/ubuntu @@ -16,4 +16,4 @@ Packages= p7zip-full unrar unzip - python-cryptography + python3-cryptography 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 |