testing/perl-font-ttf: fix find ... -delete line

This commit is contained in:
Natanael Copa 2015-11-04 09:59:01 +00:00
parent 97ab604f20
commit 2508a6506c

View File

@ -33,7 +33,7 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name *.txt -o -name *.pod -o -name .packlist -o ttfmod.pl \) -delete
find "$pkgdir" \( -name *.txt -o -name *.pod -o -name .packlist -o -name ttfmod.pl \) -delete || return 1
mv "$pkgdir"/usr/share/perl5/vendor_perl/* "$pkgdir"/usr/lib/perl5/vendor_perl
rm -fr "$pkgdir"/usr/share/perl5
}