remove the repositoris whose prefix is -path

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15852 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2013-04-08 01:38:17 +00:00
parent beadfcd627
commit e2e7c0b35c

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