bugfix: it wasn't saving the new cache file in case of change.

This commit is contained in:
Solene Rapenne 2021-08-29 12:00:01 +02:00
parent e680e0821a
commit 7bedf65ff7
1 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,8 @@ check_cache() {
rm ${CACHE_DIR}/index.now
echo "No changes on the mirror."
exit 0
else
mv ${CACHE_DIR}/index.now ${CACHE_DIR}/index.previous
fi
fi
else