Skip to content

Commit

Permalink
system - update version logic for elementary / neon
Browse files Browse the repository at this point in the history
  • Loading branch information
joolswills committed Jul 3, 2019
1 parent bb8dc1a commit 107dfe1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scriptmodules/system.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 107dfe1

Please sign in to comment.