diff options
author | steve <steve@FreeBSD.org> | 2001-04-20 21:16:43 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2001-04-20 21:16:43 +0800 |
commit | d46cf3e1aa8f7a5039dcb67b236231a612c4bf60 (patch) | |
tree | f78ecaf3f5c97d6c7bed3bb304f86ffbc2892042 /news | |
parent | 6ef77a4c92e776206c45142d1c513e7aaadba1f4 (diff) | |
download | freebsd-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-plist | 2 | ||||
-rw-r--r-- | news/p5-News-Newsrc/pkg-plist | 2 |
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 |