Hi,

You will find a small patch to fix the platform script for Mandrake
distribution.

On Mandrake Distribution both file /etc/redhat-release and
/etc/mandrake-release are present for historical and compatibility reasons.
But platform script use redhat-release, the last in the /etc sort list instead of mandrake-release.

I hope this patch will not break other platform recognition.

sincerely
--
Philippe Libat: [EMAIL PROTECTED]
<<Les choses ne changent pas.
Change ta fa�on de regarder, cela suffit>>, Lao Tseu
Key fingerprint = E6FF EEFD 5DD6 52C2 0706  4E49 251E 5C09 7F29 71C3

--- platform.orig       2003-09-12 01:24:10.000000000 +0200
+++ platform    2003-09-12 01:24:41.000000000 +0200
@@ -379,11 +379,12 @@
                     debian   ) n="Debian[ GNU/Linux]" ;;
                     redhat   ) n="RedHat[ Linux]"     ;;
                     suse     ) n="SuSE[ Linux]"       ;;
-                    mandrake ) n="Mandrake[ Linux}"   ;;
+                    mandrake ) n="Mandrake[ Linux]"   ;;
                     gentoo   ) n="Gentoo[ Linux]"     ;;
                     *        ) n="[ GNU/Linux]"   ;;
                 esac
                 SP=" "
+               [ "." = . ] || break
             done
         fi
         [ "." = . ] && SP=""

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to