mirror of https://github.com/docker/docs.git
Fix Vbox if not on el capitan
Signed-off-by: Jeffrey Morgan <jmorganca@gmail.com>
This commit is contained in:
parent
762e394acc
commit
a1733898c3
|
|
@ -148,7 +148,7 @@
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
vboxplist = system.files.plistAtPath('/Applications/VirtualBox.app/Contents/Info.plist');
|
vboxplist = system.files.plistAtPath('/Applications/VirtualBox.app/Contents/Info.plist');
|
||||||
if (!vboxplist || !vboxplist.CFBundleVersion || vboxplist.CFBundleVersion === '5.0.2' || system.compareVersions(vboxplist.CFBundleVersion, '%VBOX_VERSION%') === -1) {
|
if (!vboxplist || !vboxplist.CFBundleVersion || (vboxplist.CFBundleVersion === '5.0.2' && system.version.ProductVersion !== '10.11') || system.compareVersions(vboxplist.CFBundleVersion, '%VBOX_VERSION%') === -1) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue