diff options
author | carlosg <carlosg> | 2006-11-20 03:49:11 +0000 |
---|---|---|
committer | carlosg <carlosg> | 2006-11-20 03:49:11 +0000 |
commit | a21e1d840fa3fca3a88b4b49a79df51820ce2066 (patch) | |
tree | f5b0ef82c0db45cdcc65626674a1f4c215505c4a /Utils | |
parent | f4e6b92e9adb91e3f71ce7e09c149fd3fa27de18 (diff) |
2006-11-20 Carlos Garnacho <carlosg@gnome.org>
* Utils/Platform.pm: added Yellow Dog, it behaves like FC
Diffstat (limited to 'Utils')
-rw-r--r-- | Utils/Platform.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Utils/Platform.pm b/Utils/Platform.pm index 00742c3..eb92942 100644 --- a/Utils/Platform.pm +++ b/Utils/Platform.pm @@ -102,6 +102,7 @@ my $PLATFORM_INFO = { "ark" => [ "Ark Linux" ], "solaris-2.11" => [ "Solaris / OpenSolaris", "2.11", "Nevada" ], "nexenta-1.0" => [ "Nexenta GNU/Solaris", "1.0", "Ellate" ], + "yellowdog-4.1" => [ "Yellow Dog Linux", "4.2", "Sagitta" ], }; sub ensure_distro_map @@ -137,6 +138,7 @@ sub ensure_distro_map "pld-2.99" => "pld-1.0", "redhat-9" => "redhat-8.0", "rpath" => "redhat-7.2", + "yellowdog-4.1" => "redhat-7.2", "slackware-10.0.0" => "slackware-9.1.0", "slackware-10.1.0" => "slackware-9.1.0", "slackware-10.2.0" => "slackware-9.1.0", @@ -379,6 +381,7 @@ sub guess [ \&check_file_exists, "/etc/arch-release", "archlinux" ], [ \&check_ark ], [ \&check_yoper ], + [ \&check_distro_file, "/etc/yellowdog-release", "yellowdog", "^Yellow Dog Linux release (\S+)" ], ], "FreeBSD" => [[ \&check_freebsd ]], "SunOS" => [[ \&check_solaris ]] |