X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=creaToolsTools.git;a=blobdiff_plain;f=Linux%2Fscripts%2FThirdParty-install-Base-Stuff.sh;h=7caf9ca714ec77f2d6b156441a88fd214833637d;hp=088e02b4c8ec3e84e0cda62870311908ba4553ea;hb=1195cf5621f8d7a36af22f32633d443e8d29221d;hpb=86c5583aab988649d3987a15fcd17da4739baff3 diff --git a/Linux/scripts/ThirdParty-install-Base-Stuff.sh b/Linux/scripts/ThirdParty-install-Base-Stuff.sh index 088e02b..7caf9ca 100644 --- a/Linux/scripts/ThirdParty-install-Base-Stuff.sh +++ b/Linux/scripts/ThirdParty-install-Base-Stuff.sh @@ -36,7 +36,9 @@ echo "OperatingSystem = $OperatingSystem" echo "Please enter the root passwd to add necessary packages:"; if [ "Ubuntu" == $OperatingSystem ] ; then sudo bash ThirdParty-install-Base-rpm.sh $OperatingSystem - else + elif [ "MacOS" == $OperatingSystem ] ; then + sudo bash ThirdParty-install-Base-rpm.sh $OperatingSystem + else su -c "bash ThirdParty-install-Base-rpm.sh $OperatingSystem" fi fi