Skip to content

Commit 6b00bf9

Browse files
committed
system - recognise Elementary OS Odin - fixes #3388
It was reported that Elementary OS Odin identifies as "Elementary" rather than "elementary" via lsb_release so switch to using "[eE]lementary" in case statement to recognise both. This doesn't guarantee modules will work as this isn't a distro we test on ourselves.
1 parent 1d23692 commit 6b00bf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scriptmodules/system.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ function get_os_version() {
275275
fi
276276
__os_debian_ver="9"
277277
;;
278-
elementary)
278+
[eE]lementary)
279279
if compareVersions "$__os_release" lt 0.4; then
280280
error="You need Elementary OS 0.4 or newer"
281281
elif compareVersions "$__os_release" eq 0.4; then

0 commit comments

Comments
 (0)