2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-21 11:51:10 +00:00

Merge pull request #6655 from gurevichmark/go-xcat-zypper-msg

Throw away confusing zypper message
This commit is contained in:
besawn
2020-03-31 17:25:24 -04:00
committed by GitHub

View File

@@ -1285,7 +1285,7 @@ function remove_repo_zypper()
{
type zypper >/dev/null 2>&1 || return 255
local repo_id="$1"
zypper removerepo "${repo_id}"
zypper removerepo "${repo_id}" > /dev/null
case "${repo_id}" in
"xcat-core")
mv /etc/zypp/repos.d/xCAT-core.repo{,.nouse} 2>/dev/null