summaryrefslogtreecommitdiffstats
path: root/net/ruby-ldap/pkg-plist
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-01-05 18:59:13 +0000
committerknu <knu@FreeBSD.org>2001-01-05 18:59:13 +0000
commit6bbfa98979200a39d4eb213df0b025a979871177 (patch)
tree72312184c54dd5bd9465741ff7b5332eac61c657 /net/ruby-ldap/pkg-plist
parent8f63d4887e6ef2b40e4d965785643a49d7d7207b (diff)
downloadFreeBSD-ports-6bbfa98979200a39d4eb213df0b025a979871177.zip
FreeBSD-ports-6bbfa98979200a39d4eb213df0b025a979871177.tar.gz
Fix plist. A symlink to a directory should be removed by @unexec rm.
Found by: bento
Diffstat (limited to 'net/ruby-ldap/pkg-plist')
-rw-r--r--net/ruby-ldap/pkg-plist4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ruby-ldap/pkg-plist b/net/ruby-ldap/pkg-plist
index b798f2e..17e2a36 100644
--- a/net/ruby-ldap/pkg-plist
+++ b/net/ruby-ldap/pkg-plist
@@ -23,9 +23,9 @@
%%RUBY_EXAMPLESDIR%%/ldap/search.rb
%%RUBY_EXAMPLESDIR%%/ldap/search2.rb
%%RUBY_EXAMPLESDIR%%/ldap/search3.rb
-%%RUBY_EXAMPLESDIR%%/ldap/test
-%%RUBY_EXAMPLESDIR%%/ldap/test.sh
+@unexec rm -f %D/%%RUBY_EXAMPLESDIR%%/ldap/test 2>/dev/null || true
@unexec rm -f %D/%%RUBY_EXAMPLESDIR%%/ldap/test.log 2>/dev/null || true
+%%RUBY_EXAMPLESDIR%%/ldap/test.sh
@dirrm %%RUBY_EXAMPLESDIR%%/ldap/openldap2/test-db
@dirrm %%RUBY_EXAMPLESDIR%%/ldap/openldap2/schema
@dirrm %%RUBY_EXAMPLESDIR%%/ldap/openldap2
OpenPOWER on IntegriCloud