aboutsummaryrefslogtreecommitdiffstats
path: root/community/minidlna/minidlna.pre-install
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-12-06 14:50:57 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2016-12-06 15:05:33 +0100
commit4dd9320140988c58abc574e73693fe399450d57c (patch)
tree4606775b9caadd0bfa2dc29f06d6ff758ffdfc30 /community/minidlna/minidlna.pre-install
parent1aa57bdbcfaa3564456c98a0fd748ea417d1c157 (diff)
downloadaports-4dd9320140988c58abc574e73693fe399450d57c.tar.bz2
aports-4dd9320140988c58abc574e73693fe399450d57c.tar.xz
community/minidlna: move to community and update db dir
moved db dir from /var/cache to /var/lib added a check in post-upgrade to notify use of this change
Diffstat (limited to 'community/minidlna/minidlna.pre-install')
-rw-r--r--community/minidlna/minidlna.pre-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/community/minidlna/minidlna.pre-install b/community/minidlna/minidlna.pre-install
new file mode 100644
index 0000000000..e06c1c7c1a
--- /dev/null
+++ b/community/minidlna/minidlna.pre-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+addgroup -S minidlna 2>/dev/null
+adduser -S -D -H -h /var/run/minidlna -s /sbin/nologin -G minidlna \
+ -g minidlna minidlna 2>/dev/null
+
+exit 0