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
> $
I will unfortunatly decline on this. The reason is that not all SUSE iso's
nicely end in CD1.iso. The problems it would cause and the solution will
be larger then the benefits. Even at "the most anoying bugs" this is
known:
The distribution identifies itself as "10.0.42 Alpha1" - and has in quite
a lot places the 10.0 branding, including the 10.0 release notes. This is
a known feature ;-)
Ok, this is just explained for Alpha1. You will understand that this is
also valid for all other Alpha and Beta releases.
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]