diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2004-05-20 06:45:21 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2004-05-20 06:45:21 +0000 |
commit | 93c8c1f12a05c665280b46b820e0d599947c6580 (patch) | |
tree | dffbc002343b698cfe8583ead307d8bc6721afb0 /dev-db/mysql/mysql-4.0.20.ebuild | |
parent | r1 stable, and bug #14915 finally, providing r2 with mstore+icap. (Manifest r... (diff) | |
download | gentoo-2-93c8c1f12a05c665280b46b820e0d599947c6580.tar.gz gentoo-2-93c8c1f12a05c665280b46b820e0d599947c6580.tar.bz2 gentoo-2-93c8c1f12a05c665280b46b820e0d599947c6580.zip |
move to enewuser/enewgroup for bug #51533.
Diffstat (limited to 'dev-db/mysql/mysql-4.0.20.ebuild')
-rw-r--r-- | dev-db/mysql/mysql-4.0.20.ebuild | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/dev-db/mysql/mysql-4.0.20.ebuild b/dev-db/mysql/mysql-4.0.20.ebuild index db677762696c..32f5ef042a60 100644 --- a/dev-db/mysql/mysql-4.0.20.ebuild +++ b/dev-db/mysql/mysql-4.0.20.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-4.0.20.ebuild,v 1.1 2004/05/19 10:38:10 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-4.0.20.ebuild,v 1.2 2004/05/20 06:45:21 robbat2 Exp $ inherit eutils #to accomodate -laadeedah releases @@ -236,14 +236,8 @@ pkg_config() { } pkg_preinst() { - if ! groupmod mysql; then - groupadd -g 60 mysql || die "problem adding group mysql" - fi - - if ! id mysql; then - useradd -g mysql -s /dev/null -d /var/lib/mysql -c "mysql" mysql - assert "problem adding user mysql" - fi + enewgroup mysql 60 || die "problem adding group mysql" + enewuser mysql 60 /dev/null /var/lib/mysql mysql || die "problem adding user mysql" } pkg_postinst() { |