Skip to content

welcome: Use PRETTY_NAME instead of manually combining NAME and VERSION_ID

Jeremy Bicha requested to merge jbicha/gnome-initial-setup:pretty-name into master

Distros set PRETTY_NAME in /etc/os-release . We should use this instead of creating our own mashup of NAME and VERSION_ID.

For instance, Ubuntu 22.04 LTS's PRETTY_NAME is "Ubuntu 22.04.3 LTS" but the existing code was using "Ubuntu 22.04" instead which is not the distro's preferred name for itself.

Merge request reports