[][src]Function homebins::check_environment

pub fn check_environment(install_dirs: &InstallDirs) -> Result<(), Error>

Check whether the environment is ok, and print warnings to stderr if not.

This specifically checks whether install_dirs are contained in the relevant environment variables such as $PATH or $MANPATH.