aboutsummaryrefslogtreecommitdiffstats
path: root/news/p5-News-Newsrc
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2001-04-20 21:16:43 +0800
committersteve <steve@FreeBSD.org>2001-04-20 21:16:43 +0800
commitd46cf3e1aa8f7a5039dcb67b236231a612c4bf60 (patch)
treef78ecaf3f5c97d6c7bed3bb304f86ffbc2892042 /news/p5-News-Newsrc
parent6ef77a4c92e776206c45142d1c513e7aaadba1f4 (diff)
downloadfreebsd-ports-gnome-d46cf3e1aa8f7a5039dcb67b236231a612c4bf60.tar.gz
freebsd-ports-gnome-d46cf3e1aa8f7a5039dcb67b236231a612c4bf60.tar.zst
freebsd-ports-gnome-d46cf3e1aa8f7a5039dcb67b236231a612c4bf60.zip
Remove empty directories on uninstall.
Diffstat (limited to 'news/p5-News-Newsrc')
-rw-r--r--news/p5-News-Newsrc/pkg-plist2
1 files changed, 2 insertions, 0 deletions
diff --git a/news/p5-News-Newsrc/pkg-plist b/news/p5-News-Newsrc/pkg-plist
index fc8457f7c1c8..3e498ad729d1 100644
--- a/news/p5-News-Newsrc/pkg-plist
+++ b/news/p5-News-Newsrc/pkg-plist
@@ -1,3 +1,5 @@
lib/perl5/site_perl/%%PERL_VER%%/News/Newsrc.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/News/Newsrc/.packlist
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/News/Newsrc
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/News 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/News 2>/dev/null || true