Appears that when the patch was un-removed part of it became missing. The following patch to 2.1.14 will restore Mandrake 10.1 flavored distro detection.

$ diff -u misc.c misc.c.orig
--- misc.c      2005-04-19 10:01:26.282910000 -0500
+++ misc.c.orig 2005-04-19 09:55:53.400774000 -0500
@@ -1262,7 +1262,6 @@
/* We are looking for one of the following strings... */
#define MANDRAKE_ID "Linux Mandrake"
#define MANDRAKE_REV_ID "Mandrake Linux"
-#define MANDRAKE_10_1_ID "Mandrakelinux"

#define RELEASE_FLAG "release "
#define MANDRAKE_REL_FILENAME "/etc/mandrake-release"
@@ -1303,10 +1302,6 @@
{
vendor = "mandrake";
}
- else if(!strncmp(relstring, MANDRAKE_10_1_ID, strlen(MANDRAKE_10_1_ID)))
- {
- vendor = "mandrake";
- }
else
{
Verbose("Could not identify OS distro from %s\n", MANDRAKE_REL_FILENAME);


--

Chip Seraphine
Unix Administrator
TradeLink, LLC
312-264-2048
[EMAIL PROTECTED]




_______________________________________________ Bug-cfengine mailing list Bug-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/bug-cfengine

Reply via email to