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