On Thu, 2008-07-10 at 16:39 +0200, Michael Tautschnig wrote: > > Mmm, maybe is rather a bug of the file command, to output > > the option given on the first line than a bug of fai. I think we > > should discuss this with the maintainer of the file or libmagic > > package. > > > > These are lines I found in /usr/bin and /usr/sbin on my etch system: > > > [...] > > Could you retry that using file --mime -b ?
This returns consistent output for most of the scripts in /usr/bin and /usr/sbin, however it returns some slightly unexpected results for some programs like /usr/bin/cg-switch: /usr/sbin/cg-switch: text/plain charset=us-ascii Thomas, maybe fai-do-scripts should stop trying to split the output for different types of programs into different log files? It's only a matter of time until people want to run Python scripts as well... I think that if a file under scripts is executable fai-do-scripts should just run it. Cheers! -- Andrew Ruthven, Wellington, New Zealand At home: [EMAIL PROTECTED] | This space intentionally | left blank.
signature.asc
Description: This is a digitally signed message part