aboutsummaryrefslogtreecommitdiffstats
path: root/main/transmission/transmission-daemon.pre-install
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-04-26 16:25:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-04-26 16:25:32 +0000
commitfc885d9b34d4913eb3bff0b0b108bca1a508bcf5 (patch)
tree104b25f6f2cb40b65264b5d37262fb5ba4524fef /main/transmission/transmission-daemon.pre-install
parentc2f8fae38c5875343e2b210fbcdf33bcb73920d9 (diff)
downloadaports-fc885d9b34d4913eb3bff0b0b108bca1a508bcf5.tar.bz2
aports-fc885d9b34d4913eb3bff0b0b108bca1a508bcf5.tar.xz
main/transmission: user and group and var/lib belongs to daemon package
fixes #1115
Diffstat (limited to 'main/transmission/transmission-daemon.pre-install')
-rw-r--r--main/transmission/transmission-daemon.pre-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/transmission/transmission-daemon.pre-install b/main/transmission/transmission-daemon.pre-install
new file mode 100644
index 0000000000..44a14760f6
--- /dev/null
+++ b/main/transmission/transmission-daemon.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+adduser -h /var/lib/transmission -s /bin/false -D transmission 2>/dev/null
+
+exit 0