delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/28/12:02:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 28 Dec 2004 11:02:20 -0600
From: Brian Ford <ford AT vss DOT fsi DOT com>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: postinstall-lilypond.sh
Message-ID: <Pine.CYG.4.58.0412281038290.4076@fordpc.vss.fsi.com>
MIME-Version: 1.0
X-IsSubscribed: yes

Cosmetic note for maintainer:

[snip]
# cleanup old fonts
rm $(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')
[\snip]

find: /var/lib/texmf: No such file or directory
find: /var/spool/texmf: No such file or directory
rm: too few arguments
Try `rm --help' for more information.

Maybe add a -f to rm?  That would eliminate one of the error messages.

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.

HTH

-- 
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019