mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
terminal.py: add support for mate-terminal in check_terminal_version()
Not currently used, but include for completeness. (From OE-Core rev: dcceb90516efc77e4d0cddc3caf4e203ab9321d6) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f3f57339d1
commit
051a3a61d8
@@ -292,6 +292,8 @@ def check_terminal_version(terminalName):
|
||||
vernum = ver.split(' ')[-1]
|
||||
if ver.startswith('GNOME Terminal'):
|
||||
vernum = ver.split(' ')[-1]
|
||||
if ver.startswith('MATE Terminal'):
|
||||
vernum = ver.split(' ')[-1]
|
||||
if ver.startswith('tmux'):
|
||||
vernum = ver.split()[-1]
|
||||
return vernum
|
||||
|
||||
Reference in New Issue
Block a user