diff --git a/pkgupdate b/pkgupdate index 6bd0d80..44e5a1d 100755 --- a/pkgupdate +++ b/pkgupdate @@ -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