[Frugalware-darcs] pacman-tools: fwmakepkg: slice warnings in
Fmakeinstall()
VMiklos
vmiklos at frugalware.org
Thu Mar 16 17:50:34 CET 2006
[fwmakepkg: slice warnings in Fmakeinstall()
VMiklos <vmiklos at frugalware.org>**20060206000150] {
hunk ./fwmakepkg 404
- find $Fdestdir/usr/lib/perl5 -name perllocal.pod -exec rm {} \;
- find $Fdestdir/usr/lib/perl5 -name .packlist -exec rm {} \;
+ if [ -d $Fdestdir/usr/lib/perl5 ]; then
+ find $Fdestdir/usr/lib/perl5 -name perllocal.pod -exec rm {} \;
+ find $Fdestdir/usr/lib/perl5 -name .packlist -exec rm {} \;
+ fi
hunk ./fwmakepkg 411
- find $Fdestdir/usr/lib/perl5/site_perl -name perllocal.pod -exec rm {} \;
- find $Fdestdir/usr/lib/perl5/site_perl -name .packlist -exec rm {} \;
+ if [ -d $Fdestdir/usr/lib/perl5/site_perl ]; then
+ find $Fdestdir/usr/lib/perl5/site_perl -name perllocal.pod -exec rm {} \;
+ find $Fdestdir/usr/lib/perl5/site_perl -name .packlist -exec rm {} \;
+ fi
}
More information about the Frugalware-darcs
mailing list