From 9f236896349fe04a3cb35856bd810ddb4e93a159 Mon Sep 17 00:00:00 2001 From: Thomas Morper Date: Sat, 15 May 2010 21:26:15 -0500 Subject: libraries/perl-dbd-sqlite: remove empty dirs better. --- libraries/perl-dbd-sqlite/perl-dbd-sqlite.SlackBuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libraries') diff --git a/libraries/perl-dbd-sqlite/perl-dbd-sqlite.SlackBuild b/libraries/perl-dbd-sqlite/perl-dbd-sqlite.SlackBuild index 27267802d3..c2289e24a8 100644 --- a/libraries/perl-dbd-sqlite/perl-dbd-sqlite.SlackBuild +++ b/libraries/perl-dbd-sqlite/perl-dbd-sqlite.SlackBuild @@ -73,7 +73,9 @@ rm -rf $PKG/usr/share ) # Remove empty leftovers -rm -rf $PKG/usr/lib$LIBDIRSUFFIX/perl5/5.10.0 +find $PKG \( -name perllocal.pod -o -name .packlist -o \ + -name '*.bs' -empty \) -delete +find $PKG -depth -type d -empty -delete mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ -- cgit v1.2.3