]> Creatis software - creaToolsTools.git/blobdiff - Linux/installscript
cvs to git
[creaToolsTools.git] / Linux / installscript
index 562978342420a9e11ee7ad187c313af4fb9040b3..338a200e68313cdd003c28116d0b366bc21becb4 100755 (executable)
@@ -165,7 +165,7 @@ export ETC_BASHRC=`getbashrc`
 
 
 function usage {
-    echo "menu.sh [options] command" 
+    echo "installscript [options] command" 
     echo "creatools configure/compile/install script" 
     echo "" 
     echo "" 
@@ -289,7 +289,7 @@ fi
 if [ `checkVal $command config all` == true ] ; then
     echo "#!/bin/bash"                            >  $configureFile
     echo                                          >> $configureFile
-    echo "#File generated by 'menu.sh'"           >> $configureFile
+    echo "#File generated by 'installscript'"           >> $configureFile
     echo "#DO NOT edit !"                         >> $configureFile
     echo "#(except if you *do* know what you do)" >> $configureFile
     echo                                          >> $configureFile
@@ -338,11 +338,12 @@ if [ `checkVal $command all 3rd 3rd-base` == true ] ; then
     else 
         # must log as root
         echo "Please enter the root passwd to add necessary packages:"; 
-        su -c "bash scripts/ThirdParty-install-Base-Stuff.sh"   
+        sudo su -c "bash scripts/ThirdParty-install-Base-Stuff.sh"   
     fi
     bash scripts/ThirdParty-install.sh
 fi
 
+
 # vtk
 if [ `checkVal $command all 3rd 3rd-vtk` == true ] ; then
     bigDisplay "INSTALL VTK"