2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 10:06:39 +00:00

Throw away confusing zypper message

This commit is contained in:
Mark Gurevich 2020-03-31 14:25:31 -04:00
parent 743820d90b
commit 4ce180fcb5

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