removing debian 11.

This commit is contained in:
Gareth J. Greenaway 2022-12-14 11:19:55 -08:00 committed by Pedro Algarvio
parent 59ffb10a71
commit d299431326

View file

@ -1829,18 +1829,12 @@ else
fi
fi
i# Red Hat variants after 9.x not supported by stable type
# 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
# Debian after 11.x not supported by stable type
if [ "$(echo "${DISTRO_NAME_L}" | grep -E '(debian)')" != "" ] && [ "$ITYPE" = "stable" ] && [ "$DISTRO_MAJOR_VERSION" -ge 11 ]; then
echoerror "${DISTRO_NAME} ${DISTRO_VERSION} not supported by stable type, use type onedir."
exit 1
fi
# Ubuntu after 22.x not supported by stable type
if [ "$(echo "${DISTRO_NAME_L}" | grep -E '(ubuntu)')" != "" ] && [ "$ITYPE" = "stable" ] && [ "$DISTRO_MAJOR_VERSION" -ge 22 ]; then
echoerror "${DISTRO_NAME} ${DISTRO_VERSION} not supported by stable type, use type onedir."