Guys:
I plan to check the following patch in so that we can develop for test
releases of Fedora Core correctly:
Index: lib/OSCAR/OCA/OS_Detect/Fedora.pm
===================================================================
--- lib/OSCAR/OCA/OS_Detect/Fedora.pm (revision 5713)
+++ lib/OSCAR/OCA/OS_Detect/Fedora.pm (working copy)
@@ -48,6 +48,8 @@
if ($release_string =~ /Fedora Core release (\d+)/) {
$fc_release = $1;
+ } elsif ($release_string =~ /Fedora release (\d+).91
\(Rawhide\)/) { # Fedora Core test releases
+ $fc_release = $1+1;
} else {
return undef;
}
OS_Detect will see the distro as:
[EMAIL PROTECTED] oscar]# ./scripts/OCA-driver.pl
=============================================================================
== OS_Detect
=============================================================================
--> Dump...
$VAR1 = {
'compat_distro' => 'fc',
'distro' => 'fedora',
'chroot' => '/',
'arch' => 'i386',
'ident' => 'linux-i386-fedora-7',
'os' => 'linux',
'compat_distrover' => '7',
'pkg' => 'rpm',
'distro_version' => '7'
};
--> distro_flavor=()
--> distro_version=(7)
--> arch=(i386)
I can then use 'fc7-i386' as the distro directory.
Comments?
Thanks,
Bernard
-------------------------------------------------------------------------
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