# ChangeLog for app-office/tinyerp-server
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/tinyerp-server/ChangeLog,v 1.5 2007/01/20 19:21:39 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/tinyerp-server/ChangeLog,v 1.6 2007/02/01 19:51:56 cedk Exp $
+
+ 01 Feb 2007; Cedric Krier <cedk@gentoo.org> -tinyerp-server-4.0.0.ebuild,
+ -tinyerp-server-4.0.1.ebuild, tinyerp-server-4.0.2.ebuild:
+ Remove old
+
+ 01 Feb 2007; Cedric Krier <cedk@gentoo.org> tinyerp-server-4.0.2.ebuild:
+ Remove --no-createrole for bug #164701
*tinyerp-server-4.0.2 (20 Jan 2007)
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/tinyerp-server/tinyerp-server-4.0.2.ebuild,v 1.1 2007/01/20 19:21:39 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/tinyerp-server/tinyerp-server-4.0.2.ebuild,v 1.2 2007/02/01 19:51:56 cedk Exp $
inherit eutils distutils
einfo "In the following, the 'postgres' user will be used."
if ! pquery "SELECT usename FROM pg_user WHERE usename = '${TINYERP_USER}'" | grep -q ${TINYERP_USER}; then
ebegin "Creating database user ${TINYERP_USER}"
- createuser --quiet --username=postgres --createdb --no-adduser --no-createrole ${TINYERP_USER}
+ createuser --quiet --username=postgres --createdb ${TINYERP_USER}
eend $? || die "Failed to create database user"
fi
}