Merge pull request #1888 from shombando/shombando-add_popOS_as_ubuntu_derivative

Added Pop!_OS as a Ubuntu derivative
This commit is contained in:
Gareth J. Greenaway 2022-12-13 13:01:02 -08:00 committed by GitHub
commit 97b656bdd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1370,7 +1370,7 @@ __gather_system_info() {
#----------------------------------------------------------------------------------------------------------------------
# shellcheck disable=SC2034
__ubuntu_derivatives_translation() {
UBUNTU_DERIVATIVES="(trisquel|linuxmint|linaro|elementary_os|neon)"
UBUNTU_DERIVATIVES="(trisquel|linuxmint|linaro|elementary_os|neon|pop)"
# Mappings
trisquel_6_ubuntu_base="12.04"
linuxmint_13_ubuntu_base="12.04"
@ -1383,6 +1383,7 @@ __ubuntu_derivatives_translation() {
neon_16_ubuntu_base="16.04"
neon_18_ubuntu_base="18.04"
neon_20_ubuntu_base="20.04"
pop_22_ubuntu_base="22.04"
# Translate Ubuntu derivatives to their base Ubuntu version
match=$(echo "$DISTRO_NAME_L" | grep -E ${UBUNTU_DERIVATIVES})