void-packages/common/hooks/post-install/02-remove-perl-files.sh

9 lines
207 B
Bash
Raw Normal View History

# This hook removes perl pod/.packlist files.
hook() {
if [ "$pkgname" != "perl" ]; then
find ${PKGDESTDIR} -type f -name perllocal.pod -delete
find ${PKGDESTDIR} -type f -name .packlist -delete
fi
}