houghi schrieb:
Siegbert Baude wrote:
ISO=`ls SUSE*CD1*iso | sed 's/CD1/DVD/'`
I will unfortunatly decline on this. The reason is that not all SUSE iso's nicely end in CD1.iso.
You overlooked the second "*". You test first in your script, if the name starts with SUSE and ends with iso (btw, you could join the two greps to a single grep "^SUSE.*iso$"), so this is true for sure. I just add, that there is _somewhere_ in between "CD1", which is true for all beta CD sets I downloaded. The syntax is due to the difference between shell globbing and regex.
The problems it would cause and the solution will be larger then the benefits.
Which problems are you talking about? The benefits would be the unique scheme for CDs and DVD and also the name would include the architecture.
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.
I think the smilie in the end just shows, that this is no feature, but laziness. As already noted, it is called 10.1 beta all over newer announcements on opensuse.org. It's your script, so the decision is up to you. I already changed mine, whoever reads here can decide for himself, no problem at all. :-) Thanks again for your work on this script. Ciao Siegbert