]> Creatis software - creaToolsTools.git/blobdiff - Linux/scripts/ThirdParty-install-Base-Stuff.sh
2493 creaToolsTools Feature New Normal - Prepare and Install binary CreaTools versi...
[creaToolsTools.git] / Linux / scripts / ThirdParty-install-Base-Stuff.sh
index 5086380eb026005bb34877bef9944b9d95925e9d..43401dc56dda951ac89a210662bc47d9b6d8fbe2 100644 (file)
@@ -34,6 +34,10 @@ echo "OperatingSystem = $OperatingSystem"
     else 
         # must log as root
         echo "Please enter the root passwd to add necessary packages:"; 
-        su -c "bash ThirdParty-install-Base-rpm.sh $OperatingSystem"   
+        if [ "Ubuntu" == $OperatingSystem ] ; then
+           sudo "bash ThirdParty-install-Base-rpm.sh $OperatingSystem"   
+       else
+           su -c "bash ThirdParty-install-Base-rpm.sh $OperatingSystem"   
+        if 
     fi