Si ça peut vous aide, j’ai exécuté en verbeux:
aurel:/media/cdrom# sh -v installMapleLinuxSU
#!/bin/sh
Copyright © 1996-2004 by Waterloo Maple Inc.
All rights reserved. Unauthorized duplication prohibited.
Permission is granted to modify this file to be appropriate
for use at the installation for which Maple was purchased.
INSTALLER_DIR=Linux/Disk1/InstData/VM
PREVIOUS_PWD=pwd
pwd
SCRIPT_PATH=dirname $0
dirname $0
if [ -z $SCRIPT_PATH ] ; then
SCRIPT_PATH=pwd
fi
cd $SCRIPT_PATH
cd $INSTALLER_DIR
CMD=“sh ./LinuxInstaller.bin”
pass on arguments
for I in "$@“
do
CMD=”${CMD} “${I}”"
done
execute installer
CHECK_DISPLAY="yes"
if ( echo $CMD | grep -i console >/dev/null ) || ( echo $CMD | grep -i silent > /dev/null ) ; then
CHECK_DISPLAY="no"
fi
if [ “${CHECK_DISPLAY}” = “yes” ]; then
if [ -z “$DISPLAY” ] ; then
echo "Warning! DISPLAY variable not set. Attempting to run installer in CONSOLE mode.“
CMD=”${CMD} -i console"
fi
fi
eval $CMD
sh ./LinuxInstaller.bin
Preparing to install…
Extracting the JRE from the installer archive…
Unpacking the JRE…
Extracting the installation resources from the installer archive…
Configuring the installer for this system’s environment…
Launching installer…
./LinuxInstaller.bin: line 2312: /home/aurel/tmp/install.dir.4238/Linux/resource/jre/bin/java: cannot execute binary file
./LinuxInstaller.bin: line 2312: /home/aurel/tmp/install.dir.4238/Linux/resource/jre/bin/java: Succès
if [ -f $HOME/.com.zerog.registry.xml ]; then
chmod 644 $HOME/.com.zerog.registry.xml 1>/dev/null 2>&1
fi
if [ -f /var/.com.zerog.registry.xml ]; then
chmod 644 /var/.com.zerog.registry.xml 1>/dev/null 2>&1
fi
exit 0
aurel:/media/cdrom#