diff options
author | Sheldon Hearn <sheldonh@FreeBSD.org> | 2001-07-25 08:07:44 +0000 |
---|---|---|
committer | Sheldon Hearn <sheldonh@FreeBSD.org> | 2001-07-25 08:07:44 +0000 |
commit | ce93c84ea1964dd43594cf12dee88916e31a8e87 (patch) | |
tree | 7811e00f57fbe334859d0fa627357e868a81995f /databases/postgresql73-server | |
parent | 7231b8fbbc1631b989fb4bae5ded0ed17809fa52 (diff) | |
download | ports-ce93c84ea1964dd43594cf12dee88916e31a8e87.tar.gz ports-ce93c84ea1964dd43594cf12dee88916e31a8e87.zip |
Notes
Diffstat (limited to 'databases/postgresql73-server')
-rw-r--r-- | databases/postgresql73-server/pkg-plist | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/databases/postgresql73-server/pkg-plist b/databases/postgresql73-server/pkg-plist index 24bd7d94be10..a7493ddb7898 100644 --- a/databases/postgresql73-server/pkg-plist +++ b/databases/postgresql73-server/pkg-plist @@ -82,9 +82,10 @@ share/postgresql/dot.cshrc.dist @exec [ -f %D/share/postgresql/dot.cshrc.dist ] && cp %D/share/postgresql/dot.cshrc.dist ~pgsql/. @exec [ -f ~pgsql/.profile ] || (cp %D/share/postgresql/dot.profile.dist ~pgsql/.profile && chown pgsql:pgsql ~pgsql/.profile) @exec [ -f ~pgsql/.cshrc ] || (cp %D/share/postgresql/dot.cshrc.dist ~pgsql/.cshrc && chown pgsql:pgsql ~pgsql/.cshrc) -@unexec rmdir %D/%%PG_PREFIX%%bin 2> /dev/null || true -@unexec rmdir %D/%%PG_PREFIX%%lib 2> /dev/null || true -@unexec rmdir %D/%%PG_PREFIX%%man/man1 2> /dev/null || true -@unexec rmdir %D/%%PG_PREFIX%%man/manl 2> /dev/null || true -@unexec rmdir %D/%%PG_PREFIX%%man 2> /dev/null || true +@unexec [ X%%PG_PREFIX%% != X ] && rmdir %D/%%PG_PREFIX%%bin 2> /dev/null || true +@unexec [ X%%PG_PREFIX%% != X ] && rmdir %D/%%PG_PREFIX%%lib 2> /dev/null || true +@unexec [ X%%PG_PREFIX%% != X ] && rmdir %D/%%PG_PREFIX%%man/man1 2> /dev/null || true +@unexec [ X%%PG_PREFIX%% != X ] && rmdir %D/%%PG_PREFIX%%man/manl 2> /dev/null || true +@unexec [ X%%PG_PREFIX%% != X ] && rmdir %D/%%PG_PREFIX%%man 2> /dev/null || true +@unexec rmdir ~pgsql 2> /dev/null || true @unexec echo "Warning: If you will *NOT* use this package anymore, please remove %D/pgsql and the pgsql user manually." |