On Mon, Aug 30, 2010 at 03:09:53PM +0100, Michael Dorrington wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> 
> Package: gnome-system-tools
> Version: 2.30.2-1
> Severity: normal
> User: [email protected]
> Usertags: kfreebsd
> X-Debbugs-CC: [email protected]
> 
> 
> In kfreebsd, launching the Gnome Network Administration Tool by going to
> System->Administration->Network pops up a message saying:
> 
>  Unsupported platform

Hi,

I reasigned the bug to system-tools-backends.
I attached the patch.

Best regards,

     Gonéri
--- system-tools-backends-2.10.0.orig/Utils/Platform.pm
+++ system-tools-backends-2.10.0/Utils/Platform.pm
@@ -33,6 +33,7 @@
 
 my $PLATFORM_INFO = {
   "debian"          => [ "Debian GNU/Linux" ],
+  "debian-kfreebsd" => [ "Debian GNU/kFreeBSD" ],
   "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" ],
@@ -143,6 +144,7 @@
      "vine-3.1"         => "vine-3.0",
      "vlos-1.2"         => "gentoo",
      "nexenta-1.0"      => "solaris-2.11",
+     "debian-kfreebsd"  => "debian"
      );
 
   return $metamap{$distro} if ($metamap{$distro});
@@ -377,10 +379,12 @@
                   [ \&check_distro_file, "/etc/yellowdog-release", "yellowdog", "^Yellow Dog Linux release (\\S+)" ],
                  ],
     "FreeBSD" => [[ \&check_freebsd ]],
-    "SunOS"   => [[ \&check_solaris ]]
+    "SunOS"   => [[ \&check_solaris ]],
+    "GNU/kFreeBSD" => [[ \&check_file_exists, "/etc/debian_version", "debian" ]],
   );
 
   $distro = $Utils::Backend::tool{"system"};
+
   $checks = $platform_checks{$distro};
 
   foreach $check (@$checks) {

Attachment: signature.asc
Description: Digital signature

Reply via email to