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