2014-02-12 12:55:42 +01:00
|
|
|
# This hook removes perl pod/.packlist files.
|
|
|
|
|
|
|
|
hook() {
|
2015-11-26 22:27:55 +01:00
|
|
|
if [ "$pkgname" != "perl" -a -d "${PKGDESTDIR}" ]; then
|
2014-02-12 12:55:42 +01:00
|
|
|
find ${PKGDESTDIR} -type f -name perllocal.pod -delete
|
|
|
|
find ${PKGDESTDIR} -type f -name .packlist -delete
|
|
|
|
fi
|
|
|
|
}
|