From 51907e6d81d3f1caedfa342f8bf2668c2bac9ec5 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 11 Aug 2009 23:20:32 +0200 Subject: [PATCH] install_funcs.sh: remove unused perl related files. --HG-- extra : convert_revision : 1664396d6ffcfd314ca0310f14a5f0ab65c0fbf8 --- shutils/install_funcs.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/shutils/install_funcs.sh b/shutils/install_funcs.sh index 994c23e9448..ae4e27d8be9 100644 --- a/shutils/install_funcs.sh +++ b/shutils/install_funcs.sh @@ -160,12 +160,9 @@ make_install() fi fi - # Always remove perllocal.pod and .packlist files for - # perl modules. - if [ "$build_style" = "perl_module" -a "$pkgname" != "perl" ]; then - find ${DESTDIR} -name perllocal.pod -delete - find ${DESTDIR} -name .packlist -delete - fi + # Always remove perllocal.pod and .packlist files. + find ${DESTDIR} -name perllocal.pod -delete + find ${DESTDIR} -name .packlist -delete # Unset build vars. unset_build_vars