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

ubuntu_setup detect base version
pull/25435/head
Jason Shuler 3 years ago committed by GitHub
parent 1f0a435763
commit 65f230e6f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      tools/ubuntu_setup.sh

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

Loading…
Cancel
Save