From 107dfe11b47e704ebb7db7f24c086980f3c6394a Mon Sep 17 00:00:00 2001 From: Jools Wills Date: Wed, 3 Jul 2019 20:21:24 +0100 Subject: [PATCH] system - update version logic for elementary / neon --- scriptmodules/system.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scriptmodules/system.sh b/scriptmodules/system.sh index 350b7a498d..d6c61784a4 100644 --- a/scriptmodules/system.sh +++ b/scriptmodules/system.sh @@ -167,19 +167,19 @@ function get_os_version() { error="You need Elementary OS 0.4 or newer" elif compareVersions "$__os_release" eq 0.4; then __os_ubuntu_ver="16.04" - __os_debian_ver="8" + __os_debian_ver="9" else __os_ubuntu_ver="18.04" - __os_debian_ver="9" + __os_debian_ver="10" fi ;; neon) - __os_ubuntu_ver="$__os_release" - if compareVersions "$__os_release" lt 16.10; then - __os_debian_ver="8" - else + if compareVersions "$__os_release" lt 18.04; then __os_debian_ver="9" + else + __os_debian_ver="10" fi + __os_ubuntu_ver="$__os_release" ;; *) error="Unsupported OS"