]> Creatis software - creaToolsTools.git/commitdiff
Bug #1837
authorClaire Mouton <claire.mouton@creatis.insa-lyon.fr>
Thu, 29 Nov 2012 11:06:09 +0000 (12:06 +0100)
committerClaire Mouton <claire.mouton@creatis.insa-lyon.fr>
Thu, 29 Nov 2012 11:06:09 +0000 (12:06 +0100)
Authentification failure on 3rd partu installation on Ubuntu.

Linux/installscript

index b27809994b5099722dd574817f9e705fdad50d07..338a200e68313cdd003c28116d0b366bc21becb4 100755 (executable)
@@ -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"