diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2017-08-25 13:36:32 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-27 22:30:06 +0100 |
commit | 051a3a61d830f6484e65e234fbd4dbcc56eb7f41 (patch) | |
tree | d69d0c88a0b8a41fed2f7783480bda9a00b8d5c5 /meta | |
parent | f3f57339d123714805668cd4127b76032033e4df (diff) | |
download | poky-051a3a61d830f6484e65e234fbd4dbcc56eb7f41.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oe/terminal.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py index 89ddb4671a..9eb19a2619 100644 --- a/meta/lib/oe/terminal.py +++ b/meta/lib/oe/terminal.py | |||
@@ -292,6 +292,8 @@ def check_terminal_version(terminalName): | |||
292 | vernum = ver.split(' ')[-1] | 292 | vernum = ver.split(' ')[-1] |
293 | if ver.startswith('GNOME Terminal'): | 293 | if ver.startswith('GNOME Terminal'): |
294 | vernum = ver.split(' ')[-1] | 294 | vernum = ver.split(' ')[-1] |
295 | if ver.startswith('MATE Terminal'): | ||
296 | vernum = ver.split(' ')[-1] | ||
295 | if ver.startswith('tmux'): | 297 | if ver.startswith('tmux'): |
296 | vernum = ver.split()[-1] | 298 | vernum = ver.split()[-1] |
297 | return vernum | 299 | return vernum |