diff options
author | dennis <dennis@mrslave> | 2019-10-20 11:08:21 +0200 |
---|---|---|
committer | dennis <dennis@mrslave> | 2019-10-20 11:08:21 +0200 |
commit | 6d2b65b1d071a35e64c2ba0b2f7b564d3fe08c35 (patch) | |
tree | 1c3bb850d267e4c360cc835dba7ae1642028c081 /mkosi.postinst | |
download | mkosi-sabnzbd-6d2b65b1d071a35e64c2ba0b2f7b564d3fe08c35.tar.gz |
initial commit
Diffstat (limited to 'mkosi.postinst')
-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 |