mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
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.
This commit is contained in:
parent
9133a6e776
commit
294096c248
1 changed files with 2 additions and 1 deletions
|
@ -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})
|
||||
|
|
Loading…
Add table
Reference in a new issue