Mandriva)
echo Root password:
su -c "urpmi aria2"
- downloadCpmmand=aria2c
+ downloadCommand=aria2c
;;
Fedora)
echo Root password:
su -c "yum install aria2 -y"
- downloadCpmmand=aria2c
+ downloadCommand=aria2c
;;
Ubuntu)
echo Root password:
su -c "apt-get --yes install wget"
- downloadCpmmand=wget
+ downloadCommand=wget
;;
MacOS)
port install curl -y
- downloadCpmmand=curl
+ downloadCommand=curl
;;
*)
echo " '$OperatingSystem' : Unknown (for us...) Operating Sytem "
rm -rf $CREATOOLSBINDIR
mkdir $CREATOOLSBINDIR
cd $CREATOOLSBINDIR
-$downloadCpmmand http://www.creatis.insa-lyon.fr/software/public/creatools/creaTools/creatools-Linux-Bin.sh
+$downloadCommand http://www.creatis.insa-lyon.fr/software/public/creatools/creaTools/creatools-Linux-Bin.sh
source creatools-Linux-Bin.sh
cd ..