[Setup-tool-hackers] No-brainer patch to make time-admin notcomplain on gentoo




-- 
Markus Bertheau.
Berlin, Berlin.
Germany.
Only in gnome-system-tools-0.21.0-gentoo/backend/: Makefile
Only in gnome-system-tools-0.21.0-gentoo/backend/: config.log
Only in gnome-system-tools-0.21.0-gentoo/backend/: config.status
Common subdirectories: gnome-system-tools-0.21.0/backend/files and gnome-system-tools-0.21.0-gentoo/backend/files
Only in gnome-system-tools-0.21.0-gentoo/backend/: libtool
diff -u gnome-system-tools-0.21.0/backend/platform.pl.in gnome-system-tools-0.21.0-gentoo/backend/platform.pl.in
--- gnome-system-tools-0.21.0/backend/platform.pl.in	Tue Sep  3 00:03:20 2002
+++ gnome-system-tools-0.21.0-gentoo/backend/platform.pl.in	Wed Sep 11 23:55:32 2002
@@ -52,7 +52,8 @@
   "mandrake-8.0"    => "Linux Mandrake 8.0 Traktopel",
   "suse-7.0"        => "SuSE Linux 7.0",
   "turbolinux-7.0"  => "Turbolinux 7.0",
-  "slackware-8.0.0" => "Slackware 8.0.0"
+  "slackware-8.0.0" => "Slackware 8.0.0",
+  "gentoo"          => "Gentoo Linux"
     };
   
 sub check_lsb
@@ -82,6 +83,11 @@
   return "debian-$ver";
 }
 
+sub check_gentoo
+{
+  open PORTAGE, "$xst_prefix/usr/portage" or return -1;
+  return "gentoo";
+}
 
 sub check_redhat
 {
@@ -270,7 +276,7 @@
     # Red Hat check must run after Mandrake
     "linux" => [ \&check_lsb,      \&check_debian,   \&check_caldera, \&check_suse, 
                  \&check_mandrake, \&check_linuxppc, \&check_redhat,  \&check_turbolinux,
-                 \&check_slackware],
+                 \&check_slackware, \&check_gentoo],
     # Isn't just "freebsd" enough?
     "freebsdelf" => [ \&check_freebsd ],
     "solaris"    => [ \&check_solaris ]
Only in gnome-system-tools-0.21.0-gentoo/backend/: platform.pl.in~
diff -u gnome-system-tools-0.21.0/backend/time-conf.in gnome-system-tools-0.21.0-gentoo/backend/time-conf.in
--- gnome-system-tools-0.21.0/backend/time-conf.in	Tue Sep  3 00:03:20 2002
+++ gnome-system-tools-0.21.0-gentoo/backend/time-conf.in	Thu Sep 12 00:03:33 2002
@@ -68,7 +68,7 @@
 
               "suse-7.0", "turbolinux-7.0",
 	      
-	      "slackware-8.0.0");
+	      "slackware-8.0.0", "gentoo");
 
 $description =<<"end_of_description;";
        Configures your system clock, timezone and time server list.
@@ -428,7 +428,9 @@
 
    "turbolinux-7.0" => "redhat-7.0",
    
-   "slackware-8.0.0" => "debian-2.2"
+   "slackware-8.0.0" => "debian-2.2",
+
+   "gentoo" => "redhat-7.0"
    );
 
   my %dist_tables =
Only in gnome-system-tools-0.21.0-gentoo/backend/: time-conf.in~


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