aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-05-28 16:11:24 +0200
committerGravatar Christian Hesse <mail@eworm.de>2021-06-07 09:59:03 +0200
commit6a3e91262b53d13f90383ff2604cff1bbebe7c40 (patch)
tree2a4e518904511ee54c49b8dd1db8e6a60677fb7c /README.md
parent4a4d07193cba5e07ba4c4d94d241cc438b8b2b7c (diff)
downloadpacredir-6a3e91262b53d13f90383ff2604cff1bbebe7c40.tar.gz
pacredir-6a3e91262b53d13f90383ff2604cff1bbebe7c40.tar.zst
do not redirect if database file is too old
The Arch repositories see regular updates... Consider a database file older than 24 hours out-of-date and do not redirect.
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 4bcc937..11cbeb2 100644
--- a/README.md
+++ b/README.md
@@ -62,9 +62,9 @@ Do not worry if `pacman` reports:
This is ok, it just tells `pacman` that `pacredir` could not find a file
and downloading it from an official server is required.
-Please note that `pacredir` redirects to the most recent file found on
-the local network. To make sure you really do have the latest files run
-`pacman -Syu` *twice*.
+Please note that `pacredir` redirects to the most recent database file
+found on the local network if it is not too old (currently 24 hours). To
+make sure you really do have the latest files run `pacman -Syu` *twice*.
To get a better idea what happens in the background have a look at
[the request flow chart](FLOW.md).