aboutsummaryrefslogtreecommitdiffstats
path: root/testing/at/at.pre-install
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@zoho.com>2016-06-06 02:05:01 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-06-07 07:20:09 +0000
commitf27dface22b3445d598acd4d37782b6a687ecdb6 (patch)
tree9d6877061b76256f5cb7348831aca02c1530f041 /testing/at/at.pre-install
parent21c7909dd30ea71b0f605a7a08e62f00652f2269 (diff)
testing/at: Properly set primary group in .pre-install.
Fixes the problem I unintentionally brought in commit ccc056dbf9d3: system user creation doesn't add same named group and uses nogroup as primary group unless explicitly specified via -G.
Diffstat (limited to 'testing/at/at.pre-install')
-rw-r--r--testing/at/at.pre-install3
1 files changed, 1 insertions, 2 deletions
diff --git a/testing/at/at.pre-install b/testing/at/at.pre-install
index 38035104777..78aa4bcf1cd 100644
--- a/testing/at/at.pre-install
+++ b/testing/at/at.pre-install
@@ -1,7 +1,6 @@
#!/bin/sh
addgroup -S at 2>/dev/null
-adduser -S -D -H -s /bin/false -g at at 2>/dev/null
-addgroup at at 2>/dev/null
+adduser -S -D -H -s /bin/false -G at -g at at 2>/dev/null
exit 0