aboutsummaryrefslogtreecommitdiffstats
path: root/news
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
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')
-rw-r--r--news/p5-News-Article/pkg-plist2
-rw-r--r--news/p5-News-Newsrc/pkg-plist2
2 files changed, 4 insertions, 0 deletions
diff --git a/news/p5-News-Article/pkg-plist b/news/p5-News-Article/pkg-plist
index 968f7eaaa447..dc1393795b21 100644
--- a/news/p5-News-Article/pkg-plist
+++ b/news/p5-News-Article/pkg-plist
@@ -4,3 +4,5 @@ lib/perl5/site_perl/%%PERL_VER%%/News/FormArticle.pm
lib/perl5/site_perl/%%PERL_VER%%/News/FormReply.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/News/Article/.packlist
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/News/Article
+@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
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