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"
+ fi
fi