Skip to content
Permalink
Browse files

Submitted by: aqua_dabbler@mac.com

fix minor issue in 'server' variant

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@3880 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Nov 3, 2003
1 parent 2a21f4f commit 29fc17bcae7c12c026f26fd824b669e50b04e5bf
Showing with 2 additions and 5 deletions.
  1. +2 −5 databases/postgresql/Portfile
@@ -1,4 +1,4 @@
# $Id: Portfile,v 1.28 2003/10/29 19:39:52 mww Exp $
# $Id: Portfile,v 1.29 2003/11/03 12:48:23 mww Exp $

PortSystem 1.0
name postgresql
@@ -115,10 +115,7 @@ variant server {
${destroot}${prefix}/etc/rc.d/pgsql.sh
reinplace "s|__STMODE|${stop_mode}|g" \
${destroot}${prefix}/etc/rc.d/pgsql.sh
if [file exists ${dbdir}]
{
return
}
if [file exists ${dbdir}] { return }
system "install -v -d ${destroot}${dbdir}"
## Requires post-deploy.
# system "su postgres -c \'${prefix}/bin/initdb -D ${dbdir}\'"

0 comments on commit 29fc17b

Please sign in to comment.
You can’t perform that action at this time.