summaryrefslogtreecommitdiffstats
path: root/databases/unixODBC
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-04-14 18:48:40 +0000
committerkrion <krion@FreeBSD.org>2004-04-14 18:48:40 +0000
commit76a7121f7f825b6d896090a636855bb411af1339 (patch)
tree2a0e061471ebce5800a94ec9b94e20dfc707cafb /databases/unixODBC
parentac7fd90d968518870de148623bcbccc3b42e279e (diff)
downloadFreeBSD-ports-76a7121f7f825b6d896090a636855bb411af1339.zip
FreeBSD-ports-76a7121f7f825b6d896090a636855bb411af1339.tar.gz
- Fix handling empty directory
PR: ports/65532 Submitted by: Ports Fury
Diffstat (limited to 'databases/unixODBC')
-rw-r--r--databases/unixODBC/pkg-plist3
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/unixODBC/pkg-plist b/databases/unixODBC/pkg-plist
index a357f3e..49ad023 100644
--- a/databases/unixODBC/pkg-plist
+++ b/databases/unixODBC/pkg-plist
@@ -145,4 +145,5 @@ lib/libtemplate.so.1
%%PORTDOCS%%@dirrm %%DOCSDIR%%/ProgrammerManual
%%PORTDOCS%%@dirrm %%DOCSDIR%%/AdministratorManual
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm etc/ODBCDataSources
+@exec mkdir -p %D/etc/ODBCDataSources 2>/dev/null || true
+@unexec rmdir %D/etc/ODBCDataSources 2>/dev/null || true
OpenPOWER on IntegriCloud