ubuntu_setup.sh detect base ubuntu version for variant distros (#25433)
ubuntu_setup detect base version old-commit-hash: 65f230e6f607469d187da0f3d84a2759c48d3711
This commit is contained in:
@@ -108,7 +108,11 @@ if [ -f "/etc/os-release" ]; then
|
||||
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
|
||||
exit 1
|
||||
fi
|
||||
install_ubuntu_focal_requirements
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user