mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
added changes from current develop version
This commit is contained in:
parent
8e6e2ba898
commit
af6445c767
1 changed files with 3 additions and 1 deletions
|
@ -6211,7 +6211,7 @@ __zypper() {
|
|||
sleep 1
|
||||
done
|
||||
|
||||
zypper --non-interactive "${@}";
|
||||
zypper --non-interactive "${@}"
|
||||
# Return codes between 100 and 104 are only informations, not errors
|
||||
# https://en.opensuse.org/SDB:Zypper_manual#EXIT_CODES
|
||||
if [ "$?" -gt "99" ] && [ "$?" -le "104" ]; then
|
||||
|
@ -6229,6 +6229,8 @@ __zypper_install() {
|
|||
# Option present in zypper 1.10.4 and newer:
|
||||
# https://github.com/openSUSE/zypper/blob/95655728d26d6d5aef7796b675f4cc69bc0c05c0/package/zypper.changes#L253
|
||||
__zypper install --auto-agree-with-licenses --replacefiles "${@}"; return $?
|
||||
else
|
||||
__zypper install --auto-agree-with-licenses "${@}"; return $?
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue