aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql73-server/pkg-plist-server
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql73-server/pkg-plist-server')
-rw-r--r--databases/postgresql73-server/pkg-plist-server24
1 files changed, 12 insertions, 12 deletions
diff --git a/databases/postgresql73-server/pkg-plist-server b/databases/postgresql73-server/pkg-plist-server
index 59e3de96ed86..795f41b84f87 100644
--- a/databases/postgresql73-server/pkg-plist-server
+++ b/databases/postgresql73-server/pkg-plist-server
@@ -30,7 +30,7 @@ lib/postgresql/utf8_and_win1256.so
lib/postgresql/utf8_and_win874.so
lib/postgresql/plpgsql.so
%%DOCSDIR%%/README-server
-@unexec rmdir %D/%%DOCSDIR%% 2>/dev/null || true
+@dirrmtry %%DOCSDIR%%
share/postgresql/postgres.bki
share/postgresql/postgres.description
share/postgresql/pg_hba.conf.sample
@@ -47,12 +47,12 @@ share/postgresql/conversion_create.sql
%%GETTEXT%%share/locale/tr/LC_MESSAGES/postgres.mo
%%GETTEXT%%share/locale/zh_CN/LC_MESSAGES/postgres.mo
%%GETTEXT%%share/locale/zh_TW/LC_MESSAGES/postgres.mo
-%%GETTEXT%%@unexec rmdir %D/share/locale/cs/LC_MESSAGES 2>/dev/null || true
-%%GETTEXT%%@unexec rmdir %D/share/locale/cs 2>/dev/null || true
-%%GETTEXT%%@unexec rmdir %D/share/locale/zh_CN/LC_MESSAGES 2>/dev/null || true
-%%GETTEXT%%@unexec rmdir %D/share/locale/zh_CN 2>/dev/null || true
-%%GETTEXT%%@unexec rmdir %D/share/locale/zh_TW/LC_MESSAGES 2>/dev/null || true
-%%GETTEXT%%@unexec rmdir %D/share/locale/zh_TW 2>/dev/null || true
+%%GETTEXT%%@dirrmtry share/locale/cs/LC_MESSAGES
+%%GETTEXT%%@dirrmtry share/locale/cs
+%%GETTEXT%%@dirrmtry share/locale/zh_CN/LC_MESSAGES
+%%GETTEXT%%@dirrmtry share/locale/zh_CN
+%%GETTEXT%%@dirrmtry share/locale/zh_TW/LC_MESSAGES
+%%GETTEXT%%@dirrmtry share/locale/zh_TW
@unexec if cmp -s ~pgsql/.profile %D/share/postgresql/dot.profile.dist; then rm -f ~pgsql/.profile; fi
@unexec if cmp -s ~pgsql/.cshrc %D/share/postgresql/dot.cshrc.dist; then rm -f ~pgsql/.cshrc; fi
@unexec [ -f ~pgsql/dot.profile.dist ] && rm ~pgsql/dot.profile.dist
@@ -64,8 +64,8 @@ share/postgresql/dot.cshrc.dist
@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 echo "Warning: If you will *NOT* use this package anymore, please remove the pgsql user manually."
-@unexec rmdir %D/share/postgresql 2>/dev/null || true
-@unexec rmdir %D/etc/periodic/daily 2>/dev/null || true
-@unexec rmdir %D/etc/periodic 2>/dev/null || true
-@unexec rmdir %D/lib/postgresql 2>/dev/null || true
-@unexec rmdir %D/pgsql 2>/dev/null || true
+@dirrmtry share/postgresql
+@dirrmtry etc/periodic/daily
+@dirrmtry etc/periodic
+@dirrmtry lib/postgresql
+@dirrmtry pgsql