common/hooks: Fix hooks when build_style=meta
This commit is contained in:
parent
f5a64d0ecf
commit
f68bfd6575
3 changed files with 14 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
|||
# This hook removes perl pod/.packlist files.
|
||||
|
||||
hook() {
|
||||
if [ "$pkgname" != "perl" ]; then
|
||||
if [ "$pkgname" != "perl" -a -d "${PKGDESTDIR}" ]; then
|
||||
find ${PKGDESTDIR} -type f -name perllocal.pod -delete
|
||||
find ${PKGDESTDIR} -type f -name .packlist -delete
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue