mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 913276 - Only install terminal-notifier on OS X 10.8+; r=ted
This commit is contained in:
parent
984460ac19
commit
03cc1bc114
@ -195,15 +195,19 @@ class OSXBootstrapper(BaseBootstrapper):
|
||||
packages = [
|
||||
# We need to install Python because Mercurial requires the Python
|
||||
# development headers which are missing from OS X (at least on
|
||||
# 10.8).
|
||||
# 10.8) and because the build system wants a version newer than
|
||||
# what Apple ships.
|
||||
('python', 'python'),
|
||||
('mercurial', 'mercurial'),
|
||||
('git', 'git'),
|
||||
('yasm', 'yasm'),
|
||||
('autoconf213', HOMEBREW_AUTOCONF213),
|
||||
('terminal-notifier', 'terminal-notifier'),
|
||||
]
|
||||
|
||||
# terminal-notifier is only available in Mountain Lion or newer.
|
||||
if self.os_version >= StrictVersion('10.8'):
|
||||
packages.append(('terminal-notifier', 'terminal-notifier'))
|
||||
|
||||
printed = False
|
||||
|
||||
for name, package in packages:
|
||||
|
Loading…
Reference in New Issue
Block a user