Merge branch 'develop' into adding_more_systems

This commit is contained in:
Gareth J. Greenaway 2023-01-31 13:35:45 -08:00 committed by GitHub
commit bfa9bcf5b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1829,6 +1829,12 @@ else
fi
fi
# Red Hat variants after 9.x not supported by stable type
if [ "$(echo "${DISTRO_NAME_L}" | grep -E '(centos|red_hat|scientific|almalinux|rocky)')" != "" ] && [ "$ITYPE" = "stable" ] && [ "$DISTRO_MAJOR_VERSION" -ge 9 ]; then
echoerror "${DISTRO_NAME} ${DISTRO_VERSION} not supported by stable type, use type onedir."
exit 1
fi
# For Ubuntu derivatives, pretend to be their Ubuntu base version
__ubuntu_derivatives_translation