Annotation of /trunk/nxclient/patches/nxclient-4.0.0_pre1-magellan.patch
Parent Directory | Revision Log
Revision 1240 -
(hide annotations)
(download)
Thu Dec 23 17:21:35 2010 UTC (13 years, 9 months ago) by niro
File size: 1502 byte(s)
Thu Dec 23 17:21:35 2010 UTC (13 years, 9 months ago) by niro
File size: 1502 byte(s)
updated magellan patches for nx-4.0.0_pre1
1 | niro | 1240 | diff -Naur nxclient/NX/scripts/setup/nxclient nxclient-magellan/NX/scripts/setup/nxclient |
2 | --- nxclient/NX/scripts/setup/nxclient 2010-12-21 13:49:23.000000000 +0100 | ||
3 | +++ nxclient-magellan/NX/scripts/setup/nxclient 2010-12-23 18:23:26.000000000 +0100 | ||
4 | @@ -98,6 +98,11 @@ | ||
5 | return 0 | ||
6 | fi | ||
7 | |||
8 | + if [ -f /etc/mageversion ]; | ||
9 | + then | ||
10 | + system=magellan | ||
11 | + fi | ||
12 | + | ||
13 | return 1 | ||
14 | } | ||
15 | |||
16 | @@ -1957,6 +1962,9 @@ | ||
17 | elif [ "$system" = "mandrake" ]; | ||
18 | then | ||
19 | detectedSystem="Mandriva" | ||
20 | + elif [ "$system" = "magellan" ]; | ||
21 | + then | ||
22 | + detectedSystem="Magellan-Linux" | ||
23 | fi | ||
24 | |||
25 | printMsg "Autodetected system: $detectedSystem" | ||
26 | @@ -2171,6 +2179,7 @@ | ||
27 | echo " Xandros Desktop 4.1/Xandros Server 2.0 etc." | ||
28 | echo " solaris Sun Solaris 10.0 etc." | ||
29 | echo " fedora Fedora 10/11/12/13 etc." | ||
30 | + echo " magellan Magellan-Linux 0.8.x/0.9.x/0.10.x etc." | ||
31 | |||
32 | echo "$errMsg" | ||
33 | |||
34 | @@ -2309,6 +2318,7 @@ | ||
35 | "debian" ) ;; | ||
36 | "solaris" ) ;; | ||
37 | "macosx" ) ;; | ||
38 | + "magellan" ) ;; | ||
39 | "" ) ARGS=-1 && errMsg="$PREFIX $ERROR ERROR: Unable to autodetect the operating system type, please specify it" ;; | ||
40 | * ) ARGS=-1 && errMsg="$PREFIX $ERROR ERROR: Unsupported operating system '$system'" ;; | ||
41 | esac | ||
42 | @@ -2447,6 +2457,7 @@ | ||
43 | /etc/debian_release | ||
44 | /etc/fedora-release | ||
45 | /etc/gentoo-release | ||
46 | +/etc/mageversion | ||
47 | /etc/immunix-release | ||
48 | knoppix_version | ||
49 | /etc/lfs-release |