aboutsummaryrefslogtreecommitdiffstats
path: root/databases/unixODBC
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-04-15 02:48:40 +0800
committerkrion <krion@FreeBSD.org>2004-04-15 02:48:40 +0800
commit76a7121f7f825b6d896090a636855bb411af1339 (patch)
tree2a0e061471ebce5800a94ec9b94e20dfc707cafb /databases/unixODBC
parentac7fd90d968518870de148623bcbccc3b42e279e (diff)
downloadfreebsd-ports-gnome-76a7121f7f825b6d896090a636855bb411af1339.tar.gz
freebsd-ports-gnome-76a7121f7f825b6d896090a636855bb411af1339.tar.zst
freebsd-ports-gnome-76a7121f7f825b6d896090a636855bb411af1339.zip
- 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 a357f3eb3055..49ad02333dac 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