Skip to content

Fix gdk update command for Pop OS

Felipe Artur requested to merge fix-gdk-update-for-pop-os into main

What does this Merge Request do and why?

Fixes gdk update command for Pop Os.
Before this change updating gdk was returning ERROR: Unsupported platform message.

This is what /etc/os-release looks like on Pop Os. ensure_supported_platform() was checking for ID_LIKE before ID which in this case ubuntu debian is not present in the list of supported plataforms.

NAME="Pop!_OS"
VERSION="20.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 20.04 LTS"
VERSION_ID="20.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
LOGO=distributor-logo-pop-os

Merge request reports