Don't mirror cmake

This commit is contained in:
Bob Mottram 2017-06-16 16:37:58 +01:00
parent 93f3cefcfd
commit 73eb2d8146
1 changed files with 1 additions and 1 deletions

View File

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