diff options
author | Erich Eckner <git@eckner.net> | 2023-01-08 22:44:11 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2023-01-08 22:44:11 +0100 |
commit | 318375268fffd886af5f74fd5c059d1d52c48bc8 (patch) | |
tree | bffe2c2739ea92b6eabfc2b6551345e243c40c28 /checkVersions | |
parent | 31423b5473678c2a314ae53bc2326e25ff0dbb16 (diff) | |
download | archlinuxewe-318375268fffd886af5f74fd5c059d1d52c48bc8.tar.xz |
checkVersions: cache for 1h instead of 5 minutes
Diffstat (limited to 'checkVersions')
-rwxr-xr-x | checkVersions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checkVersions b/checkVersions index 9ab38bec0..a1fb11291 100755 --- a/checkVersions +++ b/checkVersions @@ -27,7 +27,7 @@ curl_it() { cache_file="${curl_cache}/${cache_file}" if ${use_cache} && \ [ -s "${cache_file}" ] && \ - [ "0$(stat -c%Y "${cache_file}")" -gt "$(($(date +%s)-300))" ] && + [ "0$(stat -c%Y "${cache_file}")" -gt "$(($(date +%s)-3600))" ] && ! grep -qiF 'access denied' "${cache_file}"; then cat "${cache_file}" return |