diff --git a/xCAT/postscripts/ospkgs b/xCAT/postscripts/ospkgs index 1f87422c9..fac076316 100755 --- a/xCAT/postscripts/ospkgs +++ b/xCAT/postscripts/ospkgs @@ -703,6 +703,7 @@ else if [ -r "/etc/yum.repos.d/local-repository.repo" ]; then result=`rm /etc/yum.repos.d/local-repository.repo 2>&1` fi + rm /etc/yum.repos.d/$OSVER-path*.repo >/dev/null 2>&1 result=`rm /etc/yum.repos.d/xCAT*.repo 2>&1` fi