gert hat geschrieben:Das Skript prüft am Anfang (Zeile 39 ...) ab, ob das laufende System eine 64-Bit System ist ($(arch))....
Kann also schon deshalb nie auf einem 32-Bit System durchlaufen !
Das stimmt so nicht! Du musst schon den ganzen Ausdruck betrachten:
- Code: Alles auswählen
37 case $run_arch in
38 x86_64)
39 if [ "$(arch)" != "x86_64" ]; then
40 echo "The .run file is for x86_64 but you have a 32-bit operating system."
41 exit 1
42 fi
43 case $pkgstyle in
44 no-compat32)
45 echo "Unable to generate a package from a no-compat32 version of the driver."
46 echo "Use the normal version NVIDIA-Linux-$run_arch-$version.run instead."
47 exit 1
48 ;;
49 pkg0|pkg1)
50 echo "Unable to generate a package from a $pkgstyle version of the driver."
51 echo "You must use NVIDIA-Linux-$run_arch-$version-pkg2.run instead."
52 exit 1
53 esac
54
55 ;;
56 x86)
57 if [ "$(arch)" = "x86_64" ]; then
58 echo "The .run file is for 32-bit system, but your system is 64-bit."
59 exit 1
60 fi
61 ;;
62 *)
63 echo "Unrecognized .run file"
64 exit 1
65 esac
Wenn es sich dabei um ein 32Bit-System handelt, wird bei der Marke x86) (Zeile 56) fortgefahren.
Die von dir zitierte Prüfung wird dann nicht erreicht.