diff options
-rw-r--r-- | db-functions | 1 | ||||
-rwxr-xr-x | db-sync | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/db-functions b/db-functions index 2eeffbb..dd8e2dc 100644 --- a/db-functions +++ b/db-functions @@ -141,6 +141,7 @@ cleanup() { if (( REPO_MODIFIED )); then date +%s > "${FTP_BASE}/lastupdate" + date -u +%s > "${FTP_BASE}/lastsync" fi [ "$1" ] && exit "$1" @@ -174,6 +174,8 @@ init() { "${FTP_BASE}/${srcpool}/" done + date -u +%s > "${FTP_BASE}/lastsync" + # Cleanup unset blacklist whitelists _arch _repo repo_file } |