Re: Notes about mulinux 11r12-47 el torito

From: Albrecht Kleine (kleine@ak.sax.de)
Date: Sun May 06 2001 - 10:33:30 CEST


> > > > replaced -z with -f.
> >
> > I am not an expert in shell scripting , but IMHO it's a question
> > of "-z" versus "-f" in that "tips" script.
>
> I cannot find these option. Where are located, in the script?
>
To be more exactly, I've added a patch:
------------------------cut-------------------------------
--- dis-assembler~ Mon Nov 20 17:14:26 2000
+++ dis-assembler Sun May 6 10:25:01 2001
@@ -1,4 +1,4 @@
-if [ -z "`which ndisasm`" ] ; then
+if [ -f "`which ndisasm`" ] ; then
 ndisasm /usr/bin/random > /tmp/random
 muless -b "this is the /usr/bin/random code -- q)uit" /tmp/random
 rm /tmp/random
------------------------cut-------------------------------
dis-assembler is /usr/tips/items/apps/dis-assembler

BTW these "tips" are one of the things making mulinux something
special. The newbies don't need to buy a book, but can easy explore
the OS they have just installed. Great!

Cheers
Albrecht

---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.dk
For additional commands, e-mail: mulinux-help@sunsite.dk



This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:18 CET