diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2018-03-02 13:58:53 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2018-03-02 13:58:53 +0100 |
commit | 749940b097dfd73aa6e7a06aed16336ed443fd7a (patch) | |
tree | c107e59cb3c8abbe15fbf65c4fc20ff2f5faea52 /dev-db/etcd | |
parent | dev-python/flask-gravatar: Bump to 0.5.0 (diff) | |
download | gentoo-749940b097dfd73aa6e7a06aed16336ed443fd7a.tar.gz gentoo-749940b097dfd73aa6e7a06aed16336ed443fd7a.tar.bz2 gentoo-749940b097dfd73aa6e7a06aed16336ed443fd7a.zip |
dev-db/etcd: Create user only if USE="server" is enabled
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-db/etcd')
-rw-r--r-- | dev-db/etcd/etcd-3.3.1.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-db/etcd/etcd-3.3.1.ebuild b/dev-db/etcd/etcd-3.3.1.ebuild index 7ec5b9eda5c9..88b1e478fe0a 100644 --- a/dev-db/etcd/etcd-3.3.1.ebuild +++ b/dev-db/etcd/etcd-3.3.1.ebuild @@ -24,8 +24,10 @@ src_prepare() { } pkg_setup() { - enewgroup ${PN} - enewuser ${PN} -1 -1 /var/lib/${PN} ${PN} + if use server; then + enewgroup ${PN} + enewuser ${PN} -1 -1 /var/lib/${PN} ${PN} + fi } src_compile() { |