aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-02-16 00:16:38 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-02-16 00:16:38 +0000
commit30b1d8f9c3c7e7ed3b6637ef035ef52e31909697 (patch)
tree8d822a1cc728b2df8ea4fe5b58ae4e41eed0a9aa
parent9fd2dbd5281318db9eae1936d2d788261bcb2e24 (diff)
downloadports-30b1d8f9c3c7e7ed3b6637ef035ef52e31909697.tar.gz
ports-30b1d8f9c3c7e7ed3b6637ef035ef52e31909697.zip
Attempt to remove ${PREFIX}/share/xml if it exists and is empty.
Reported by: bento
Notes
Notes: svn path=/head/; revision=75617
-rw-r--r--devel/libglade2/pkg-plist1
1 files changed, 1 insertions, 0 deletions
diff --git a/devel/libglade2/pkg-plist b/devel/libglade2/pkg-plist
index 26d93e2c2867..9581dd4b3a3a 100644
--- a/devel/libglade2/pkg-plist
+++ b/devel/libglade2/pkg-plist
@@ -26,3 +26,4 @@ share/xml/libglade/glade-2.0.dtd
@dirrm share/doc/libglade
@dirrm include/libglade-2.0/glade
@dirrm include/libglade-2.0
+@unexec /bin/rmdir %D/share/xml 2>/dev/null || /usr/bin/true