> 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. >
+1 from my side. Alternatively, we might do specific logging for the known types, and have some "other" file for the remaining executable files. Best, Michael
pgpUE6jBzdf2k.pgp
Description: PGP signature

