Enable bashate errors E010 and E011 which require "then" and "do"
tokens on the same lines as "if" and "while" respectively.
Change-Id: I4a167530a21ab95d5dbe9f903facc9566a0461e2
For gate jobs, we need to automate the installing of
dependencies, so check if we're on Ubuntu and handle that
case automatically. Other distros can still use the script
but need to manually take care of dependencies.
Change-Id: Id2c6a815c018cdfe3b288c38c7033275f25d8f13