aboutsummaryrefslogtreecommitdiffstats
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
parent21c7909dd30ea71b0f605a7a08e62f00652f2269 (diff)
downloadaports-f27dface22b3.tar.gz
aports-f27dface22b3.tar.bz2
aports-f27dface22b3.tar.xz
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.
-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 3803510477..78aa4bcf1c 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