blob: a4a66974197ff9c1917e2023eb2a79b696bcfe42 [file] [log] [blame]
function installGit() {
if which dpkg &> /dev/null; then
ensure_cmd_or_install_package_apt git git-core
elif which rpm &> /dev/null; then
ensure_cmd_or_install_package_yum git git-core
else
abort "we only support apt-get and yum right now... please contribute!"
return 1
fi
return 0
}