Distro detection and distro-agnostic way of checking if postgis has been installed and installing postgis.