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:
parent
beadfcd627
commit
e2e7c0b35c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user