Don't mirror cmake
This commit is contained in:
parent
93f3cefcfd
commit
73eb2d8146
|
@ -201,7 +201,7 @@ function sync_mirrors_base {
|
||||||
repo_name=$(echo "$line" | awk -F '=' '{print $1}')
|
repo_name=$(echo "$line" | awk -F '=' '{print $1}')
|
||||||
repo_url=$(echo "$line" | awk -F '=' '{print $2}' | awk -F '"' '{print $2}')
|
repo_url=$(echo "$line" | awk -F '=' '{print $2}' | awk -F '"' '{print $2}')
|
||||||
mirrors_name=$(echo "$repo_name" | sed "s|_REPO||g" | awk '{print tolower($0)}')
|
mirrors_name=$(echo "$repo_name" | sed "s|_REPO||g" | awk '{print tolower($0)}')
|
||||||
if [[ ${mirrors_name} != 'debian' ]]; then
|
if [[ ${mirrors_name} != 'debian' && ${mirrors_name} != 'cmake' ]]; then
|
||||||
if [[ $NEW_MIRRORS == 'yes' ]]; then
|
if [[ $NEW_MIRRORS == 'yes' ]]; then
|
||||||
if [ -d /home/mirrors/${mirrors_name} ]; then
|
if [ -d /home/mirrors/${mirrors_name} ]; then
|
||||||
rm -rf /home/mirrors/${mirrors_name}
|
rm -rf /home/mirrors/${mirrors_name}
|
||||||
|
|
Loading…
Reference in New Issue