From 294096c2485b541985f731fe013a4a1b836874dd Mon Sep 17 00:00:00 2001 From: Shom Bandopadhaya Date: Sat, 10 Dec 2022 13:27:23 -0600 Subject: [PATCH] Added Pop!_OS as a Ubuntu derivative Only added 22 as a variant of Ubuntu 22.04 since that's all I can test, other versions should work equally well. --- bootstrap-salt.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 02790b4..da858ac 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -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})