aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql80-server/pkg-plist
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2001-02-22 21:06:03 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2001-02-22 21:06:03 +0000
commitfa2d0e0a64c362a79d2a1b9d85e53b34a8dac64a (patch)
tree256e7a9ac1bdae7df31a388602e31a887c2e84ac /databases/postgresql80-server/pkg-plist
parent935cdad5265fce29ac5b9e6d2ae8b80dd2c84e2a (diff)
downloadports-fa2d0e0a64c362a79d2a1b9d85e53b34a8dac64a.tar.gz
ports-fa2d0e0a64c362a79d2a1b9d85e53b34a8dac64a.zip
Notes
Diffstat (limited to 'databases/postgresql80-server/pkg-plist')
-rw-r--r--databases/postgresql80-server/pkg-plist4
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/postgresql80-server/pkg-plist b/databases/postgresql80-server/pkg-plist
index 107fac4e503b..fd2bd41937f1 100644
--- a/databases/postgresql80-server/pkg-plist
+++ b/databases/postgresql80-server/pkg-plist
@@ -1,5 +1,7 @@
+@unexec if cmp -s %D/pgsql/.profile %D/pgsql/dot.profile.dist; then rm -f %D/pgsql/.profile; fi
etc/rc.d/pgsql.sh
-pgsql/.profile
+pgsql/dot.profile.dist
+@exec [ -f %D/pgsql/.profile ] || (cp %D/pgsql/dot.profile.dist %D/pgsql/.profile && chown pgsql:pgsql %D/pgsql/.profile)
pgsql/bin/createdb
pgsql/bin/createlang
pgsql/bin/createuser