aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Morper <thomas@beingboiled.info>2010-05-15 21:26:15 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-16 22:24:37 -0500
commit9f236896349fe04a3cb35856bd810ddb4e93a159 (patch)
treef4e10f5f0972649bef9dfb19d560f74de473c3cb
parent37d49bcd70b81988c3581e337bed0e9ba76a940d (diff)
libraries/perl-dbd-sqlite: remove empty dirs better.
-rw-r--r--libraries/perl-dbd-sqlite/perl-dbd-sqlite.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/libraries/perl-dbd-sqlite/perl-dbd-sqlite.SlackBuild b/libraries/perl-dbd-sqlite/perl-dbd-sqlite.SlackBuild
index 27267802d3f02..c2289e24a86e0 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 \