summaryrefslogtreecommitdiff
path: root/user/apaste/apasted.pre-install
diff options
context:
space:
mode:
authorLaurent Bercot <ska-adelie@skarnet.org>2024-04-10 15:36:32 +0000
committerZach van Rijn <me@zv.io>2024-04-25 02:48:27 +0000
commit7730de23769b58eaa968bdf2421f279eef2e1120 (patch)
tree445f158b9d096f3ff17e0226141df6986185ba2e /user/apaste/apasted.pre-install
parent503e8ce2cbe2e0498f9227e5da4e9a50d9de6b61 (diff)
downloadpackages-7730de23769b58eaa968bdf2421f279eef2e1120.tar.gz
packages-7730de23769b58eaa968bdf2421f279eef2e1120.tar.bz2
packages-7730de23769b58eaa968bdf2421f279eef2e1120.tar.xz
packages-7730de23769b58eaa968bdf2421f279eef2e1120.zip
user/apaste: fix and simplify APKBUILD
Diffstat (limited to 'user/apaste/apasted.pre-install')
-rw-r--r--user/apaste/apasted.pre-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/user/apaste/apasted.pre-install b/user/apaste/apasted.pre-install
new file mode 100644
index 000000000..32782d21f
--- /dev/null
+++ b/user/apaste/apasted.pre-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+addgroup -S apasted 2>/dev/null
+adduser -S -D -h / -H -s /sbin/nologin -G apasted -g apastedlog apastedlog 2>/dev/null
+adduser -S -D -h / -H -s /sbin/nologin -G apasted -g apasted apasted 2>/dev/null
+
+exit 0