bootstrap: Install git if not present
This commit is contained in:
@@ -58,6 +58,11 @@ _install() {
|
||||
fi
|
||||
}
|
||||
|
||||
if ! command -v git >/dev/null ; then
|
||||
printf 'Git not installed, installing ...\n'
|
||||
_install "git"
|
||||
printf 'Done\n'
|
||||
fi
|
||||
|
||||
if ! command -v python3 >/dev/null ; then
|
||||
printf 'Python3 not installed, installing ...\n'
|
||||
|
||||
Reference in New Issue
Block a user