summaryrefslogtreecommitdiff
path: root/user/transmission/transmission-daemon.pre-install
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2019-10-01 00:48:02 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2019-10-01 00:48:02 +0000
commitd9476f27a0e296f237ec65a9a4fda7b9d4911f4b (patch)
tree1cf4874183e0cff9ba7182dcb05d410c71746ca0 /user/transmission/transmission-daemon.pre-install
parentf4cc6d8729916268ad5b96374f4a3466c837e5da (diff)
parenta7906406ecd52a1156f0f182b92a72be648f87b3 (diff)
downloadpackages-d9476f27a0e296f237ec65a9a4fda7b9d4911f4b.tar.gz
packages-d9476f27a0e296f237ec65a9a4fda7b9d4911f4b.tar.bz2
packages-d9476f27a0e296f237ec65a9a4fda7b9d4911f4b.tar.xz
packages-d9476f27a0e296f237ec65a9a4fda7b9d4911f4b.zip
Merge branch 'popular-demand' into 'master'
Popular demand (round 2) See merge request adelie/packages!346
Diffstat (limited to 'user/transmission/transmission-daemon.pre-install')
-rw-r--r--user/transmission/transmission-daemon.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/user/transmission/transmission-daemon.pre-install b/user/transmission/transmission-daemon.pre-install
new file mode 100644
index 000000000..2e26d48d7
--- /dev/null
+++ b/user/transmission/transmission-daemon.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S transmission 2>/dev/null
+adduser -S -D -h /var/lib/transmission -s /sbin/nologin -G transmission -g transmission transmission 2>/dev/null
+
+exit 0