diff options
author | Przemyslaw Pawelczyk <przemoc@zoho.com> | 2016-06-06 02:05:05 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-06-07 07:20:09 +0000 |
commit | 3c1fa46624bd65849ace1212d16be85eea865699 (patch) | |
tree | 8241996dfaa2d0cf0ab368985a044fa8c536394a /main/postgrey/postgrey.pre-install | |
parent | 40521bdafd3cc0eb623df4d48d6658f32bccfdf1 (diff) | |
download | aports-3c1fa46624bd65849ace1212d16be85eea865699.tar.bz2 aports-3c1fa46624bd65849ace1212d16be85eea865699.tar.xz |
main/{npre, postgrey}: 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 'main/postgrey/postgrey.pre-install')
-rw-r--r-- | main/postgrey/postgrey.pre-install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/postgrey/postgrey.pre-install b/main/postgrey/postgrey.pre-install index 5f1d560e15..bb4269656d 100644 --- a/main/postgrey/postgrey.pre-install +++ b/main/postgrey/postgrey.pre-install @@ -1,6 +1,6 @@ #!/bin/sh addgroup -S postgrey 2>/dev/null -adduser -S -D -H -h /dev/null -s /sbin/nologin -g postgrey postgrey 2>/dev/null +adduser -S -D -H -h /dev/null -s /sbin/nologin -G postgrey -g postgrey postgrey 2>/dev/null exit 0 |