mirror of https://github.com/commaai/openpilot.git
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:
parent
7560dd6973
commit
2922d5b7aa
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue