From 6d2b65b1d071a35e64c2ba0b2f7b564d3fe08c35 Mon Sep 17 00:00:00 2001 From: dennis Date: Sun, 20 Oct 2019 11:08:21 +0200 Subject: initial commit --- mkosi.postinst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 mkosi.postinst (limited to 'mkosi.postinst') 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 -- cgit v1.2.3