aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2017-08-25 13:36:32 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-27 22:29:45 +0100
commitdcceb90516efc77e4d0cddc3caf4e203ab9321d6 (patch)
treeaf613d8c8194f9a3c1b23477f72f161ab7cf40f0
parentc7f769bd400756d180abf80dbfdf4ed2703fab60 (diff)
downloadopenembedded-core-contrib-dcceb90516efc77e4d0cddc3caf4e203ab9321d6.tar.gz
openembedded-core-contrib-dcceb90516efc77e4d0cddc3caf4e203ab9321d6.tar.bz2
openembedded-core-contrib-dcceb90516efc77e4d0cddc3caf4e203ab9321d6.zip
terminal.py: add support for mate-terminal in check_terminal_version()
Not currently used, but include for completeness. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oe/terminal.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py
index 89ddb4671a6..9eb19a26199 100644
--- a/meta/lib/oe/terminal.py
+++ b/meta/lib/oe/terminal.py
@@ -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