The command `which mono`returns an empty string whicj is passed to `os.path.exists`which raises an exception. So the script won't install mono.
The command
which monoreturns an empty string whicj is passed toos.path.existswhich raises an exception. So the script won't install mono.