mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-20 10:10:22 +00:00
[go-xcat] Fix zypper repository querying. Search packages in repository only.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# go-xcat - Install xCAT automatically.
|
||||
#
|
||||
# Version 1.0.16
|
||||
# Version 1.0.17
|
||||
#
|
||||
# Copyright (C) 2016 International Business Machines
|
||||
# Eclipse Public License, Version 1.0 (EPL-1.0)
|
||||
@@ -517,7 +517,7 @@ function check_repo_version_zypper()
|
||||
do
|
||||
name+=("${name}")
|
||||
ver+=("${ver}")
|
||||
done < <(zypper --no-gpg-checks -n search -s --match-exact "$@" \
|
||||
done < <(zypper --no-gpg-checks -n search -u -s --match-exact "$@" \
|
||||
2>/dev/null | awk -F ' *\\| *' '/ package / { print $2, $4 }')
|
||||
local -i i
|
||||
while [[ -n "$1" ]]
|
||||
|
Reference in New Issue
Block a user