function usage {
- echo "menu.sh [options] command"
+ echo "installscript [options] command"
echo "creatools configure/compile/install script"
echo ""
echo ""
if [ `checkVal $command config all` == true ] ; then
echo "#!/bin/bash" > $configureFile
echo >> $configureFile
- echo "#File generated by 'menu.sh'" >> $configureFile
+ echo "#File generated by 'installscript'" >> $configureFile
echo "#DO NOT edit !" >> $configureFile
echo "#(except if you *do* know what you do)" >> $configureFile
echo >> $configureFile
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"