mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Don't fail if only one of the openSUSE repositories failed to update.
This commit is contained in:
parent
9ad90c45f0
commit
e4726ebbdf
2 changed files with 8 additions and 1 deletions
|
@ -10,6 +10,7 @@ Version 1.5.5:
|
|||
* SmartOS no longer ignores $SALT_ETC_DIR. Matthieu Guegan!
|
||||
* FreeBSD no longer ignores $SALT_ETC_DIR. Thanks Geoff Garside!
|
||||
* SunOS (Make use of XPG4 binaries on SunOS). Thanks Matthieu Guegan!
|
||||
* openSUSE (Don't fail if only one of the repositories failed to update)
|
||||
|
||||
|
||||
Version 1.5.4:
|
||||
|
|
|
@ -2282,7 +2282,13 @@ install_opensuse_stable_deps() {
|
|||
http://download.opensuse.org/repositories/devel:/languages:/python/${DISTRO_REPO}/devel:languages:python.repo || return 1
|
||||
fi
|
||||
|
||||
zypper --gpg-auto-import-keys --non-interactive refresh || return 1
|
||||
zypper --gpg-auto-import-keys --non-interactive refresh
|
||||
exitcode=$?
|
||||
if [ $? -ne 0 ] && [ $? -ne 4 ]; then
|
||||
# If the exit code is not 0, and it's not 4(failed to update a
|
||||
# repository) return a failure. Otherwise continue.
|
||||
return 1
|
||||
fi
|
||||
zypper --non-interactive install --auto-agree-with-licenses libzmq3 python \
|
||||
python-Jinja2 python-M2Crypto python-PyYAML python-msgpack-python \
|
||||
python-pycrypto python-pyzmq || return 1
|
||||
|
|
Loading…
Add table
Reference in a new issue