ubuntu_setup.sh detect base ubuntu version for variant distros (#25433)

ubuntu_setup detect base version
old-commit-hash: 65f230e6f6
This commit is contained in:
Jason Shuler 2022-08-13 21:53:45 -04:00 committed by GitHub
parent 7560dd6973
commit 2922d5b7aa
1 changed files with 5 additions and 1 deletions

View File

@ -108,7 +108,11 @@ if [ -f "/etc/os-release" ]; then
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
exit 1
fi
if [ "$UBUNTU_CODENAME" = "jammy" ]; then
install_ubuntu_jammy_requirements
else
install_ubuntu_focal_requirements
fi
esac
else
echo "No /etc/os-release in the system"