mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
cleanup of minor changes
This commit is contained in:
parent
3bf0e5d6cc
commit
30b2dc020f
1 changed files with 4 additions and 7 deletions
|
@ -6350,16 +6350,12 @@ install_opensuse_stable() {
|
|||
}
|
||||
|
||||
install_opensuse_git() {
|
||||
if [ -z "$_PY_EXE" ]; then
|
||||
_PY_EXE="python"
|
||||
fi
|
||||
|
||||
if [ "${_POST_NEON_INSTALL}" -eq $BS_TRUE ]; then
|
||||
__install_salt_from_repo_post_neon "${_PY_EXE}" || return 1
|
||||
return 0
|
||||
fi
|
||||
|
||||
"${_PY_EXE}" setup.py ${SETUP_PY_INSTALL_ARGS} install --prefix=/usr || return 1
|
||||
python setup.py ${SETUP_PY_INSTALL_ARGS} install --prefix=/usr || return 1
|
||||
return 0
|
||||
}
|
||||
|
||||
|
@ -6602,11 +6598,12 @@ install_suse_15_stable_deps() {
|
|||
}
|
||||
|
||||
install_suse_15_git_deps() {
|
||||
install_suse_15_stable_deps || return 1
|
||||
|
||||
if ! __check_command_exists git; then
|
||||
__zypper_install git-core || return 1
|
||||
fi
|
||||
|
||||
install_suse_15_stable_deps || return 1
|
||||
install_opensuse_15_git_deps || return 1
|
||||
|
||||
return 0
|
||||
|
@ -6716,7 +6713,7 @@ install_suse_12_git_deps() {
|
|||
|
||||
install_suse_12_stable() {
|
||||
install_opensuse_stable || return 1
|
||||
return 0
|
||||
return 0
|
||||
}
|
||||
|
||||
install_suse_12_git() {
|
||||
|
|
Loading…
Add table
Reference in a new issue