Hi Chris,

looking into your SLES.pm I see two issues:


> my $detect_package = "SuSE-release";
This should be "sles-release". It is the package name which contains the
release information.


> 
>     if ($release_string =~ SUSE Linux Enterprise Server 10 (\d+.\d+)/) {
> 
>         my $os_version = $1;

For the version you actually want to match for the "10", so the regexp should
be:

>     if ($release_string =~ m/SUSE Linux Enterprise Server (\d+) \(.*\)/) {

Will check if this is in the trunk, if yes, I'll fix it. But maybe you could
try it.

BTW: the output of "$OSCAR_HOME/scripts/distro-query -v" should give you the
result of the OS detection, too. This is more practical for testing it than
the full install...

Regards,
Erich



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to