replaced DISTRO_VERSION_NO_DOTS string slice with DISTRO_MAJOR_VERSION variable. This should be more future proof.