OS=$(uname -s)
if [ "$OS" == "Darwin" ]; then
	wget -O mono.pkg http://download.mono-project.com/archive/4.2.1/macos-10-x86/MonoFramework-MDK-4.2.1.102.macos10.xamarin.x86.pkg
	sudo installer -pkg mono.pkg -target /
elif [ "$OS" == "Linux" ]; then
	sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
	echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
	sudo apt-get update -qq
	sudo apt-get install -y mono-devel
fi
OS=$(uname -s)
if [ "$OS" == "Darwin" ]; then
	wget -O mono.pkg https://download.mono-project.com/archive/4.6.2/macos-10-universal/MonoFramework-MDK-4.6.2.16.macos10.xamarin.universal.pkg
	sudo installer -pkg mono.pkg -target /
elif [ "$OS" == "Linux" ]; then
	sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
	echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
	sudo apt-get update -qq
	sudo apt-get install -y mono-devel
fi
Update Mono install script from version 4.2.1 to version 4.6.2.
Update Mono install script from version 4.2.1 to version 4.6.2.
