From: | "Michał Górny" <mgorny@g.o> | ||
---|---|---|---|
To: | gentoo-dev@l.g.o | ||
Subject: | Re: [gentoo-dev] [PATCH v3 15/19] acct-user.eclass: A new eclass to maintain user accounts | ||
Date: | Sun, 09 Jun 2019 11:35:43 | ||
Message-Id: | 20b2de0aa8d10aff20648d71375f35f73b98c29a.camel@gentoo.org | ||
In Reply to: | [gentoo-dev] [PATCH v3 15/19] acct-user.eclass: A new eclass to maintain user accounts by "Michał Górny" |
1 | On Sun, 2019-06-09 at 13:28 +0200, Michał Górny wrote: |
2 | > + ACCT_USER_HOME_OWNER=${ACCT_USER_NAME} |
3 | > + if [[ -n ${ACCT_USER_GROUPS[0]} ]]; then |
4 | > + ACCT_USER_HOME_OWNER+=":${ACCT_USER_GROUPS[0]}" |
5 | > + fi |
6 | |
7 | I've just noticed that this can be simplified to: |
8 | |
9 | ACCT_USER_HOME_OWNER=${ACCT_USER_NAME}:${ACCT_USER_GROUPS[0]} |
10 | |
11 | -- |
12 | Best regards, |
13 | Michał Górny |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |