diff options
author | Erich Eckner <git@eckner.net> | 2023-01-08 22:47:03 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2023-01-08 22:47:03 +0100 |
commit | f428a9a2ac7f9b97c971ef19b13c0701fd9d4ef9 (patch) | |
tree | d1dcb68a7235f1019b21d59f7483a1433868070b /checkVersions | |
parent | f79ac865e2fb4e2ee22c2eaadbbfdd6b89d08f16 (diff) | |
download | archlinuxewe-f428a9a2ac7f9b97c971ef19b13c0701fd9d4ef9.tar.xz |
checkVersions: cache for 1 day instead of 1 hour
Diffstat (limited to 'checkVersions')
-rwxr-xr-x | checkVersions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checkVersions b/checkVersions index a1fb11291..748677e6f 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)-3600))" ] && + [ "0$(stat -c%Y "${cache_file}")" -gt "$(($(date +%s)-86400))" ] && ! grep -qiF 'access denied' "${cache_file}"; then cat "${cache_file}" return |