diff options
-rw-r--r-- | databases/postgresql-server/Makefile | 4 | ||||
-rw-r--r-- | databases/postgresql-server/files/pgsql.sh | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/databases/postgresql-server/Makefile b/databases/postgresql-server/Makefile index 3cba307c81b..5b8515732ae 100644 --- a/databases/postgresql-server/Makefile +++ b/databases/postgresql-server/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.31 2003/03/25 15:13:48 cjep Exp $ +# $NetBSD: Makefile,v 1.32 2003/07/16 10:35:15 abs Exp $ PKGNAME= postgresql-server-${BASE_VERS} SVR4_PKGNAME= pstgs -#PKGREVISION= 1 +PKGREVISION= 1 COMMENT= PostgreSQL database server programs DEPENDS+= postgresql-client>=${BASE_VERS}:../../databases/postgresql-client diff --git a/databases/postgresql-server/files/pgsql.sh b/databases/postgresql-server/files/pgsql.sh index c970149feca..269b0aaf367 100644 --- a/databases/postgresql-server/files/pgsql.sh +++ b/databases/postgresql-server/files/pgsql.sh @@ -1,6 +1,6 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: pgsql.sh,v 1.18 2002/10/19 22:26:35 jlam Exp $ +# $NetBSD: pgsql.sh,v 1.19 2003/07/16 10:35:15 abs Exp $ # # PostgreSQL database rc.d control script # @@ -25,8 +25,6 @@ if [ -f /etc/rc.subr ]; then . /etc/rc.subr fi -rcd_dir=`@DIRNAME@ $0` - name="pgsql" rcvar=$name pgsql_user="@PGUSER@" @@ -57,7 +55,7 @@ stop_cmd="pgsql_doit stop" pgsql_precmd() { if [ ! -f ${pgsql_home}/data/base/1/PG_VERSION ]; then - $rcd_dir/pgsql initdb + pgsql_initdb fi } |