mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
There's no zypper
command on the zypper
CLI
This commit is contained in:
parent
cab2c4afaa
commit
024a40f33f
1 changed files with 2 additions and 2 deletions
|
@ -5968,8 +5968,8 @@ __check_and_refresh_suse_pkg_repo() {
|
|||
|
||||
__version_lte() {
|
||||
if ! __check_command_exists python; then
|
||||
zypper zypper --non-interactive install --replacefiles --auto-agree-with-licenses python || \
|
||||
zypper zypper --non-interactive install --auto-agree-with-licenses python || return 1
|
||||
zypper --non-interactive install --replacefiles --auto-agree-with-licenses python || \
|
||||
zypper --non-interactive install --auto-agree-with-licenses python || return 1
|
||||
fi
|
||||
|
||||
if [ "$(python -c 'import sys; V1=tuple([int(i) for i in sys.argv[1].split(".")]); V2=tuple([int(i) for i in sys.argv[2].split(".")]); print V1<=V2' "$1" "$2")" = "True" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue