mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
parent
453185f017
commit
40cb0cd03a
1 changed files with 2 additions and 1 deletions
|
@ -4213,7 +4213,8 @@ install_smartos_deps() {
|
|||
install_smartos_git_deps() {
|
||||
install_smartos_deps || return 1
|
||||
|
||||
if [ "$(which git)" = "" ]; then
|
||||
which git > /dev/null 2>&1
|
||||
if [ $? -eq 1 ]; then
|
||||
pkgin -y install git || return 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue