Revision 14213

View differences:

branches/v10/install/launcher/izpack-launcher-1.3_linux/h_gvSIG-install.sh
10 10
./launcher-Linux >launcher_out 2>&1
11 11
res=$?
12 12
runOK=true
13
if [ $res -eq 1 -o $res -eq 0 ] 
13
if [ $res -eq 1 -o $res -eq 0 ]
14 14
then
15 15
	runOK=true
16 16
else
......
22 22
	then
23 23
		runOK=true
24 24
	fi
25
	
25

  
26 26
fi
27 27
LD_LIBRARY_PATH=$org_LD_LIBRARY_PATH
28 28
if [ $runOK = false ]
29 29
then
30
	cat launcher_out	
30
	cat launcher_out
31 31
	echo
32 32
	cat launcher_out2
33 33
	echo
34 34
	if grep -q 'libstdc++.so.6:' launcher_out ; then
35
		echo You need the libstdc++6 library correctly instaled in your system to use 
35
		echo You need the libstdc++6 library correctly instaled in your system to use
36 36
		echo the installation program.
37 37
		echo
38 38
		echo "In a debian-based distribution (if you have root privileges)"
......
41 41

  
42 42
	fi
43 43
	if grep -q 'libc.so.6:' launcher_out ; then
44
		echo You need the libc6 library correctly instaled in your system to use 
44
		echo You need the libc6 library correctly instaled in your system to use
45 45
		echo the installation program.
46 46
		echo
47 47
		echo "In a debian-based distribution (if you have root privileges)"
......
52 52
fi
53 53

  
54 54
cd ..
55
rm -r ./tmp_gvSIGInstall 2>&1 >/dev/null
56
exit 0 
55
rm -rf ./tmp_gvSIGInstall 2>&1 >/dev/null
56
exit 0

Also available in: Unified diff