From 8a6708c163fff39f9965d08854f1f620fbe87704 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Tue, 10 Nov 2020 15:07:42 +0100 Subject: [PATCH] doc: Update documentation about the cache location --- doc/files/files.html | 6 ++++-- doc/files/opensc.conf.5.xml.in | 9 +++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/doc/files/files.html b/doc/files/files.html index 10312650..49ce0c4e 100644 --- a/doc/files/files.html +++ b/doc/files/files.html @@ -724,9 +724,11 @@ app application {

Where to cache the card's files. The default values are:

  • - HOME/.eid/cache/ (Unix) + $XDG_CACHE_HOME/opensc/ (if defined)

  • - USERPROFILE\.eid-cache\ (Windows) + $HOME/.cache/opensc/ (Unix) +

  • + $USERPROFILE\.eid-cache\ (Windows)

If caching is done by a system process, the diff --git a/doc/files/opensc.conf.5.xml.in b/doc/files/opensc.conf.5.xml.in index 118922a8..791f1166 100644 --- a/doc/files/opensc.conf.5.xml.in +++ b/doc/files/opensc.conf.5.xml.in @@ -1116,12 +1116,17 @@ app application { - HOME/.eid/cache/ (Unix) + $XDG_CACHE_HOME/opensc/ (If $XDG_CACHE_HOME is defined) - USERPROFILE\.eid-cache\ (Windows) + $HOME/.cache/opensc/ (Unix) + + + + + $USERPROFILE\.eid-cache\ (Windows)