This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: postinstall-lilypond.sh
On Tue, 28 Dec 2004, Igor Pechtchanski wrote:
> On Tue, 28 Dec 2004, Brian Ford wrote:
> > find: /var/lib/texmf: No such file or directory
> > find: /var/spool/texmf: No such file or directory
[snip]
> > As for the directory errors from find, I'm not sure how to avoid
> > them without pre-testing for their existance in the script and
> > setting a variable appropriately. I understand that may add too much
> > complexity just to avoid a harmless error message.
>
> find /var/lib/texmf /var/spool/texmf /var/cache/fonts \
> -name 'feta*pk' -or -name 'feta*tfm' -or -name 'parmesan*pk' -or \
> -name 'parmesan*tfm' 2>/dev/null | xargs -r rm
>
> should do it. If you're paranoid, use -print0 and give xargs the -0 arg.
I don't see how that addresses the errors I left quoted above?
--
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/