summaryrefslogtreecommitdiffstats
path: root/knetworkconf/backends/platform.pl.in
diff options
context:
space:
mode:
Diffstat (limited to 'knetworkconf/backends/platform.pl.in')
-rw-r--r--knetworkconf/backends/platform.pl.in17
1 files changed, 11 insertions, 6 deletions
diff --git a/knetworkconf/backends/platform.pl.in b/knetworkconf/backends/platform.pl.in
index c81a9e1..1a5b7eb 100644
--- a/knetworkconf/backends/platform.pl.in
+++ b/knetworkconf/backends/platform.pl.in
@@ -51,6 +51,11 @@ $PLATFORM_INFO = {
"ubuntu-7.04" => "Kubuntu 7.04, Feisty Fawn",
"ubuntu-7.10" => "Kubuntu 7.10, Gutsy Gibbon",
"ubuntu-8.04" => "Kubuntu 8.04, Hardy Heron",
+ "ubuntu-8.10" => "Kubuntu 8.10, Intrepid Ibex",
+ "ubuntu-9.04" => "Kubuntu 9.04, Jaunty Jackalope",
+ "ubuntu-9.10" => "Kubuntu 9.10, Karmic Koala",
+ "ubuntu-10.04" => "Kubuntu 10.04, Lucid Lynx",
+ "ubuntu-10.10" => "Kubuntu 10.10, Unknown Yet",
"redhat-5.2" => "Red Hat Linux 5.2 Apollo",
"redhat-6.0" => "Red Hat Linux 6.0 Hedwig",
"redhat-6.1" => "Red Hat Linux 6.1 Cartman",
@@ -109,13 +114,13 @@ $PLATFORM_INFO = {
"rpath" => "rPath Linux",
"ark" => "Ark Linux",
};
-
+
sub check_lsb
{
my ($ver, $dist);
# my %vermap =
# ("3.0" => "woody");
-
+
my %distmap =
("Debian" => "debian"),
("Mandrake" => "mandrake"),
@@ -125,7 +130,7 @@ sub check_lsb
# gst_prefix not required here: parse already does that for us.
$dist = lc (&gst_parse_sh ("/etc/lsb-release", "DISTRIB_ID"));
$ver = lc (&gst_parse_sh ("/etc/lsb-release", "DISTRIB_RELEASE"));
-
+
# $ver = $vermap{$ver} if exists $vermap{$ver};
$dist = $distmap{$dist} if exists $dirmap{$dir};
@@ -305,12 +310,12 @@ sub check_blackpanther
if ($ver =~ /^Linux Black Panther release (\S+)/)
{
close BLACKPANTHER;
- return "blackPanther-$1";
+ return "blackPanther-$1";
}
elsif ($ver =~ /^Black Panther ( L|l)inux release ([\d\.]+)/i)
{
close BLACKPANTHER;
- return "blackPanther-$2";
+ return "blackPanther-$2";
}
}
@@ -586,7 +591,7 @@ sub gst_platform_guess
if ($$tool{"system"} =~ /$plat/)
{
my ($check, $dist);
-
+
foreach $check (@{$check{$plat}})
{
$dist = &$check ();