On Sun, Feb 19, 2006 at 04:23:52PM +0100, Siegbert Baude wrote:
> I would just save the name of the first CD iso (you're fiddling with it 
> already in your ISO_TEST2 function) and substitute CD1 with DVD. You 
> also solve the problem with i386 and x86_64 in the same time.
> 
> So something like:
> 
> ISO=`ls SUSE*CD1*iso | sed 's/CD1/DVD/'`
> 
> should do the job (I think your script assumes, you're in the directory 
> of the CD isos).
> 
> My test:
> $ ls
> MD5SUMS                             SUSE-Linux-10.1-beta4-i386-CD3.iso
> README.IMPORTANT.txt                SUSE-Linux-10.1-beta4-i386-CD4.iso
> SUSE-Linux-10.1-beta4-i386-CD1.iso  SUSE-Linux-10.1-beta4-i386-CD5.iso
> SUSE-Linux-10.1-beta4-i386-CD2.iso
> $ ISO=`ls SUSE*CD1*iso|sed 's/CD1/DVD/'`
> $ echo $ISO
> SUSE-Linux-10.1-beta4-i386-DVD.iso
> $

Will look into it more precicely at a later date. Thanks for the idea.

houghi

-- 
Nutze die zeit. Sie ist das Kostbarste was wir haben, denn es
ist unwiederbringliche Lebenszeit. Leben ist aber mehr als Wert
und Arbeit, und das Sein wichtiger als das tun.
                                          Johannes Müller-Elmau

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to