From 76a7121f7f825b6d896090a636855bb411af1339 Mon Sep 17 00:00:00 2001 From: krion Date: Wed, 14 Apr 2004 18:48:40 +0000 Subject: - Fix handling empty directory PR: ports/65532 Submitted by: Ports Fury --- databases/unixODBC/pkg-plist | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'databases/unixODBC') 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 -- cgit