Add KDE neon...

...ubuntu base version to __ubuntu_derivatives_translation()
This commit is contained in:
EHJ-52n 2017-04-26 10:01:29 +02:00 committed by GitHub
parent 5616195993
commit a7f6d4675b

View file

@ -1266,7 +1266,7 @@ __get_dpkg_architecture() {
#----------------------------------------------------------------------------------------------------------------------
# shellcheck disable=SC2034
__ubuntu_derivatives_translation() {
UBUNTU_DERIVATIVES="(trisquel|linuxmint|linaro|elementary_os)"
UBUNTU_DERIVATIVES="(trisquel|linuxmint|linaro|elementary_os|neon)"
# Mappings
trisquel_6_ubuntu_base="12.04"
linuxmint_13_ubuntu_base="12.04"
@ -1274,6 +1274,7 @@ __ubuntu_derivatives_translation() {
linuxmint_18_ubuntu_base="16.04"
linaro_12_ubuntu_base="12.04"
elementary_os_02_ubuntu_base="12.04"
neon_16_ubuntu_base="16.04"
# Translate Ubuntu derivatives to their base Ubuntu version
match=$(echo "$DISTRO_NAME_L" | egrep ${UBUNTU_DERIVATIVES})