[OE-core] [PATCH 3/3] terminal.py: add support for mate-terminal in check_terminal_version()
Andre McCurdy
armccurdy at gmail.com
Fri Aug 25 20:36:32 UTC 2017
Not currently used, but include for completeness.
Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
---
meta/lib/oe/terminal.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py
index 89ddb46..9eb19a2 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
--
1.9.1
More information about the Openembedded-core
mailing list