Index: tools/bots/linux_distribution_support.py |
diff --git a/tools/bots/linux_distribution_support.py b/tools/bots/linux_distribution_support.py |
index 5d714db6c192261d62e88f744623f84d2ff9bb5f..7e86e8cc3576624e5c36a90b51683961d2926941 100644 |
--- a/tools/bots/linux_distribution_support.py |
+++ b/tools/bots/linux_distribution_support.py |
@@ -129,7 +129,8 @@ def SrcSteps(build_info): |
'--out_dir', builddir]) |
with bot.BuildStep('Sanity check installation'): |
- if os.path.exists('/usr/bin/dart'): |
+ if os.path.exists('/usr/bin/dart') or os.path.exists( |
+ '/usr/lib/dart/bin/dart2js'): |
print "Dart already installed, removing" |
UninstallDart() |
TestInstallation(assume_installed=False) |