aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qbittorrent-nox/qbittorrent-nox.pre-install
diff options
context:
space:
mode:
authorJan Tatje <jan@jnt.io>2018-08-06 04:19:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-08-30 14:49:30 +0000
commitbef30b647957f29d6df27273f7bc03d36130ab4b (patch)
tree7954e061a1d9a1faf03b21d2d69b36d03c7c28ea /testing/qbittorrent-nox/qbittorrent-nox.pre-install
parentc257a29be6c4ab248d3b6319e80e13c495517530 (diff)
downloadaports-bef30b647957f29d6df27273f7bc03d36130ab4b.tar.bz2
aports-bef30b647957f29d6df27273f7bc03d36130ab4b.tar.xz
testing/qbittorrent-nox: new aport
Diffstat (limited to 'testing/qbittorrent-nox/qbittorrent-nox.pre-install')
-rw-r--r--testing/qbittorrent-nox/qbittorrent-nox.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/qbittorrent-nox/qbittorrent-nox.pre-install b/testing/qbittorrent-nox/qbittorrent-nox.pre-install
new file mode 100644
index 0000000000..87016a2233
--- /dev/null
+++ b/testing/qbittorrent-nox/qbittorrent-nox.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S qbittorrent 2>/dev/null
+adduser -S -D -h /var/lib/qbittorrent -s /sbin/nologin -G qbittorrent -g qbittorrent qbittorrent 2>/dev/null
+
+exit 0