remove the repositoris whose prefix is -path

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15851 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2013-04-08 01:37:27 +00:00
parent 4de74e13fb
commit 540dc00882

View File

@ -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