diff options
author | digitalone | 2019-02-28 15:01:28 +0100 |
---|---|---|
committer | digitalone | 2019-02-28 15:01:28 +0100 |
commit | 78fb595e8cc07e0226fdff1fcafa58f08514dee0 (patch) | |
tree | 503442770dc1c5088c3c97b122bbe53a556b59cf /acestream-engine.install | |
download | aur-78fb595e8cc07e0226fdff1fcafa58f08514dee0.tar.gz |
first commit
Diffstat (limited to 'acestream-engine.install')
-rw-r--r-- | acestream-engine.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/acestream-engine.install b/acestream-engine.install new file mode 100644 index 000000000000..346bb827b404 --- /dev/null +++ b/acestream-engine.install @@ -0,0 +1,16 @@ +post_install() { + if ! getent passwd acestream &> /dev/null; then + useradd -u 4035 -g video -m -s /usr/bin/nologin acestream + fi +} + +post_upgrade() { + post_install +} + +post_remove() { + if getent passwd acestream &>/dev/null; then + userdel acestream + fi +} + |