diff options
Diffstat (limited to '')
-rwxr-xr-x | mkosi.postinst | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mkosi.postinst b/mkosi.postinst new file mode 100755 index 0000000..7e29285 --- /dev/null +++ b/mkosi.postinst @@ -0,0 +1,18 @@ +#!/bin/sh +set -ex + +export DEBIAN_FRONTEND=noninteractive +export HOME="/config" + +groupadd --system --gid 997 warez +useradd --system --gid warez --uid 997 warez + + +add-apt-repository --yes ppa:jcfp/nobetas +add-apt-repository --yes ppa:jcfp/sab-addons +apt install --yes sabnzbdplus python-sabyenc par2-tbb python-pip + +pip install --no-cache-dir apprise chardet pynzb requests sabyenc + +apt purge --auto-remove --yes python-pip +apt clean |