Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
truenas-rk3588
truenas
Commits
ddc6980e
Commit
ddc6980e
authored
13 years ago
by
Josh Paetzel
Browse files
Options
Download
Email Patches
Plain Diff
change get_freenas_login_version to work with official release strings as well
parent
153cac58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gui/common/system.py
+6
-1
gui/common/system.py
with
6 additions
and
1 deletion
+6
-1
gui/common/system.py
View file @
ddc6980e
...
...
@@ -62,7 +62,12 @@ def get_freenas_login_version():
if
fd
:
version
=
fd
.
read
().
strip
().
split
(
"-"
)
fd
.
close
()
return
version
[
1
]
# FreeNAS-8.0.1-RC1-amd64
if
len
(
version
)
==
4
:
return
"-"
.
join
(
version
[
1
:
3
])
# FreeNAS-8r7200-amd64
else
:
return
version
[
1
]
return
version
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help