[Setup-tool-hackers] Mdk 9.1 Patch



Hi

I've made a quick patch so every tool but networking should work in
mandrake 9.1.

Frej Rasmussen



Index: backends/platform.pl.in
===================================================================
RCS file: /cvs/gnome/setup-tools-backends/platform.pl.in,v
retrieving revision 1.42
diff -u -r1.42 platform.pl.in
--- backends/platform.pl.in	18 May 2003 22:09:30 -0000	1.42
+++ backends/platform.pl.in	25 May 2003 05:09:33 -0000
@@ -53,6 +53,7 @@
   "mandrake-7.1"    => "Linux Mandrake 7.1",
   "mandrake-7.2"    => "Linux Mandrake 7.2 Odyssey",
   "mandrake-8.0"    => "Linux Mandrake 8.0 Traktopel",
+  "mandrake-9.1"    => "Mandrake Linux 9.1 Dolphin",
   "suse-7.0"        => "SuSE Linux 7.0",
   "turbolinux-7.0"  => "Turbolinux 7.0",
   "slackware-8.0.0" => "Slackware 8.0.0",
@@ -68,9 +69,12 @@
 {
   my ($ver, $dist);
   my %vermap =
-      ("3.0" => "woody");
+      ("3.0" => "woody"),
+      ("9.1" => "9.1");
+  
   my %distmap =
-      ("Debian" => "debian");
+      ("Debian" => "debian"),
+      ("Mandrake" => "mandrake");
 
   # gst_prefix not required here: parse already does that for us.
   $dist = lc (&gst_parse_sh ("/etc/lsb-release", "DISTRIB_ID"));
Index: backends/runlevel-conf.in
===================================================================
RCS file: /cvs/gnome/setup-tools-backends/runlevel-conf.in,v
retrieving revision 1.9
diff -u -r1.9 runlevel-conf.in
--- backends/runlevel-conf.in	1 May 2003 01:08:56 -0000	1.9
+++ backends/runlevel-conf.in	25 May 2003 05:09:33 -0000
@@ -45,7 +45,7 @@
 @platforms = ("redhat-5.2", "redhat-6.0", "redhat-6.1", "redhat-6.2", "redhat-7.0", "redhat-7.1",
               "redhat-7.2", "redhat-7.3", "redhat-8.0",
               
-              "mandrake-7.1", "mandrake-7.2",
+              "mandrake-7.1", "mandrake-7.2","mandrake-9.1",
 
               "debian-2.2", "debian-woody", "debian-sarge",
 
Index: backends/service.pl.in
===================================================================
RCS file: /cvs/gnome/setup-tools-backends/service.pl.in,v
retrieving revision 1.42
diff -u -r1.42 service.pl.in
--- backends/service.pl.in	1 May 2003 01:08:56 -0000	1.42
+++ backends/service.pl.in	25 May 2003 05:09:34 -0000
@@ -60,6 +60,7 @@
 
        "mandrake-7.1" => ["/etc/rc.d", "/etc/rc.d/init.d", "../init.d"],
        "mandrake-7.2" => ["/etc/rc.d", "/etc/rc.d/init.d", "../init.d"],
+       "mandrake-9.1" => ["/etc/rc.d", "/etc/rc.d/init.d", "../init.d"],
 
        "debian-2.2"   => ["/etc", "/etc/init.d", "../init.d"],
        "debian-woody" => ["/etc", "/etc/init.d", "../init.d"],
@@ -96,6 +97,7 @@
 
        "mandrake-7.1"   => [3, 5],
        "mandrake-7.2"   => [3, 5],
+       "mandrake-9.1"   => [3, 5],
 
        "debian-2.2"     => [2, 3],
        "debian-woody"   => [2, 3],
Index: backends/time-conf.in
===================================================================
RCS file: /cvs/gnome/setup-tools-backends/time-conf.in,v
retrieving revision 1.85
diff -u -r1.85 time-conf.in
--- backends/time-conf.in	18 May 2003 22:09:30 -0000	1.85
+++ backends/time-conf.in	25 May 2003 05:09:34 -0000
@@ -63,7 +63,7 @@
 @platforms = ("redhat-5.2", "redhat-6.0", "redhat-6.1", "redhat-6.2", "redhat-7.0", "redhat-7.1",
               "redhat-7.2", "redhat-7.3", "redhat-8.0",
               
-              "mandrake-7.1", "mandrake-7.2",
+              "mandrake-7.1", "mandrake-7.2", "mandrake-9.1",
               
               "debian-2.2", "debian-woody", "debian-sarge",
 
@@ -428,6 +428,7 @@
 
    "mandrake-7.1"    => "redhat-7.0",
    "mandrake-7.2"    => "redhat-7.0",
+   "mandrake-9.1"    => "redhat-7.0",
 
    "debian-2.2"      => "debian-2.2",
    "debian-woody"    => "debian-2.2",
@@ -484,7 +485,6 @@
               [ "ntpinstalled", \&gst_service_sysv_installed, "ntpd" ],
               ]
                 },
-
        "debian-2.2" =>
        {
          fn =>
@@ -563,6 +563,7 @@
 
    "mandrake-7.1"    => "redhat-7.0",
    "mandrake-7.2"    => "redhat-7.0",
+   "mandrake-9.1"    => "redhat-7.0",
 
    "debian-2.2"      => "debian-2.2",
    "debian-woody"    => "debian-2.2",
Index: backends/users-conf.in
===================================================================
RCS file: /cvs/gnome/setup-tools-backends/users-conf.in,v
retrieving revision 1.98
diff -u -r1.98 users-conf.in
--- backends/users-conf.in	18 May 2003 22:09:30 -0000	1.98
+++ backends/users-conf.in	25 May 2003 05:09:34 -0000
@@ -70,7 +70,7 @@
 $version = "___version___";
 @platforms = ("redhat-5.2", "redhat-6.0", "redhat-6.1", "redhat-6.2", "redhat-7.0", "redhat-7.1",
               "redhat-7.2", "redhat-7.3", "redhat-8.0",
-              "mandrake-7.1", "mandrake-7.2",
+              "mandrake-7.1", "mandrake-7.2", "mandrake-9.1",
               "debian-2.2", "debian-woody", "debian-sarge",
               "suse-7.0", "turbolinux-7.0",
               "slackware-8.0.0", "slackware-8.1", "slackware-9.0.0",
@@ -227,6 +227,7 @@
   'redhat-8.0'      => $rh_logindefs_defaults,
   'mandrake-7.1'    => $rh_logindefs_defaults,
   'mandrake-7.2'    => $rh_logindefs_defaults,
+  'mandrake-9.1'    => $rh_logindefs_defaults,
   'pld-1.0'         => $rh_logindefs_defaults,
   'debian-2.2'      => $rh_logindefs_defaults,
   'debian-woody'    => $rh_logindefs_defaults,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]