diff -Naur nxclient/NX/scripts/setup/nxclient nxclient-magellan/NX/scripts/setup/nxclient --- nxclient/NX/scripts/setup/nxclient 2010-12-21 13:49:23.000000000 +0100 +++ nxclient-magellan/NX/scripts/setup/nxclient 2010-12-23 18:59:45.000000000 +0100 @@ -98,6 +98,12 @@ return 0 fi + if [ -f /etc/mageversion ]; + then + system=magellan + return 0 + fi + return 1 } @@ -1957,6 +1963,9 @@ elif [ "$system" = "mandrake" ]; then detectedSystem="Mandriva" + elif [ "$system" = "magellan" ]; + then + detectedSystem="Magellan-Linux" fi printMsg "Autodetected system: $detectedSystem" @@ -2171,6 +2180,7 @@ echo " Xandros Desktop 4.1/Xandros Server 2.0 etc." echo " solaris Sun Solaris 10.0 etc." echo " fedora Fedora 10/11/12/13 etc." + echo " magellan Magellan-Linux 0.8.x/0.9.x/0.10.x etc." echo "$errMsg" @@ -2309,6 +2319,7 @@ "debian" ) ;; "solaris" ) ;; "macosx" ) ;; + "magellan" ) ;; "" ) ARGS=-1 && errMsg="$PREFIX $ERROR ERROR: Unable to autodetect the operating system type, please specify it" ;; * ) ARGS=-1 && errMsg="$PREFIX $ERROR ERROR: Unsupported operating system '$system'" ;; esac @@ -2447,6 +2458,7 @@ /etc/debian_release /etc/fedora-release /etc/gentoo-release +/etc/mageversion /etc/immunix-release knoppix_version /etc/lfs-release