]> Creatis software - creaToolsTools.git/blobdiff - Linux/scripts/ThirdParty-install-Base-Stuff.sh
#3405 creaToolsTools Feature New Normal - vtk8itk5wx3-macos
[creaToolsTools.git] / Linux / scripts / ThirdParty-install-Base-Stuff.sh
index af7b840089dbc3bf9c1d8b508adba357d8f269f5..7caf9ca714ec77f2d6b156441a88fd214833637d 100644 (file)
@@ -35,8 +35,10 @@ echo "OperatingSystem = $OperatingSystem"
         # must log as root
         echo "Please enter the root passwd to add necessary packages:"; 
         if [ "Ubuntu" == $OperatingSystem ] ; then
-           sudo "bash ThirdParty-install-Base-rpm.sh $OperatingSystem"   
-       else
+           sudo bash ThirdParty-install-Base-rpm.sh $OperatingSystem
+        elif [ "MacOS" == $OperatingSystem ] ; then
+           sudo bash ThirdParty-install-Base-rpm.sh $OperatingSystem
+               else
            su -c "bash ThirdParty-install-Base-rpm.sh $OperatingSystem"   
         fi 
     fi