Changeset 14431 for trunk/dports


Ignore:
Timestamp:
Oct 5, 2005, 1:33:11 PM (14 years ago)
Author:
mww
Message:

Bug: #3077
Reported by: decibel@…
Submitted by: mww@

fix issue with default db-dir being not empty

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/postgresql8/Portfile

    r14426 r14431  
    1 # $Id: Portfile,v 1.24 2005/10/05 06:49:46 mww Exp $
     1# $Id: Portfile,v 1.25 2005/10/05 13:33:11 mww Exp $
    22
    33PortSystem 1.0
     
    102102                        realname=PostgreSQL-8\ Server
    103103        }
    104         post-destroot {
    105                 xinstall -m 755 -o postgres8 -g postgres -d ${destroot}${dbdir}
    106         }
    107         destroot.keepdirs       ${destroot}${prefix}/var/db/pgsql8/defaultdb
    108104
    109105        post-install {
    110106                ui_msg "\nTo create a database instance, after install do\n\
     107                        sudo mkdir -p ${dbdir}\n\
     108                        sudo chown postgres8:postgre ${dbdir}\n\
    111109                        sudo su postgres8 -c \'${libdir}/bin/initdb -D ${dbdir}\'"
    112110                ui_msg "\nTo activate the PostgreSQL8 server, add\n\
Note: See TracChangeset for help on using the changeset viewer.