summaryrefslogtreecommitdiff
path: root/Shares
diff options
context:
space:
mode:
authorcarlosg <carlosg>2006-08-11 14:53:08 +0000
committercarlosg <carlosg>2006-08-11 14:53:08 +0000
commit8ed7927e834be83087c40fb69dcd65c9c9885ec1 (patch)
treee654c5da4bf32dfaaad0a6b95d07349559f78e85 /Shares
parent5faf3f268e977a999443c7414db02f4f0ac42e48 (diff)
2006-08-11 Carlos Garnacho <carlosg@gnome.org>
* Utils/Platform.pm (guess): make distribution detection more generic, remove lots of check_distro() functions. (ensure_distro_map): create a distro metamap, from now adding a new distro that behaves exactly like another will be one liner. (PLATFORM_INFO): remove some ancient (as in ooold) distros. * Init/Services.pm, Network/Hosts.pm, Network/Ifaces.pm, Shares/SMB.pm, Time/NTP.pm, Time/TimeDate.pm, Users/Users.pm: Unify parse/replace distro maps where necessary, make shorter those lists now that the distro metamap is there.
Diffstat (limited to 'Shares')
-rw-r--r--Shares/SMB.pm42
1 files changed, 0 insertions, 42 deletions
diff --git a/Shares/SMB.pm b/Shares/SMB.pm
index 9bb4aab..5abe981 100644
--- a/Shares/SMB.pm
+++ b/Shares/SMB.pm
@@ -129,63 +129,21 @@ sub get_distro_smb_file
my %dist_map =
(
- "redhat-6.0" => "redhat-6.2",
- "redhat-6.1" => "redhat-6.2",
"redhat-6.2" => "redhat-6.2",
-
"redhat-7.0" => "debian-3.0",
"redhat-7.1" => "debian-3.0",
"redhat-7.2" => "debian-3.0",
"redhat-7.3" => "debian-3.0",
"redhat-8.0" => "debian-3.0",
- "redhat-9" => "debian-3.0",
- "openna-1.0" => "redhat-6.2",
-
- "mandrake-7.1" => "redhat-6.2",
- "mandrake-7.2" => "redhat-6.2",
"mandrake-9.0" => "debian-3.0",
- "mandrake-9.1" => "debian-3.0",
- "mandrake-9.2" => "debian-3.0",
- "mandrake-10.0" => "debian-3.0",
- "mandrake-10.1" => "debian-3.0",
- "mandrake-10.2" => "debian-3.0",
-
- "debian-2.2" => "debian-3.0",
"debian-3.0" => "debian-3.0",
- "debian-sarge" => "debian-3.0",
-
"suse-9.0" => "debian-3.0",
- "suse-9.1" => "debian-3.0",
-
- "turbolinux-7.0" => "debian-3.0",
-
- "slackware-8.0.0" => "debian-3.0",
- "slackware-8.1" => "debian-3.0",
- "slackware-9.0.0" => "debian-3.0",
"slackware-9.1.0" => "debian-3.0",
- "slackware-10.0.0" => "debian-3.0",
- "slackware-10.1.0" => "debian-3.0",
- "slackware-10.2.0" => "debian-3.0",
-
"gentoo" => "debian-3.0",
- "vlos-1.2" => "debian-3.0",
-
"archlinux" => "debian-3.0",
-
"pld-1.0" => "pld-1.0",
- "pld-1.1" => "pld-1.0",
- "pld-1.99" => "pld-1.0",
- "fedora-1" => "debian-3.0",
- "fedora-2" => "debian-3.0",
- "fedora-3" => "debian-3.0",
- "rpath" => "debian-3.0",
-
"vine-3.0" => "debian-3.0",
- "vine-3.1" => "debian-3.0",
-
"freebsd-5" => "freebsd-5",
- "freebsd-6" => "freebsd-5",
- "freebsd-7" => "freebsd-5",
);
my %dist_tables =