aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-03-02 15:03:59 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-03-02 15:03:59 -0800
commit0bed0ab5a308f5e72a01fa9bee76488556288862 (patch)
tree42b2e302ba259116557934166ca360e3e18bcccc /pandoc.cabal
parenta99423b59c78a1f64debad7340c5bbc0259e1215 (diff)
downloadpandoc-0bed0ab5a308f5e72a01fa9bee76488556288862.tar.gz
Use XDG data directory for user data directory.
Instead of `$HOME/.pandoc`, the default user data directory is now `$XDG_DATA_HOME/pandoc`, where `XDG_DATA_HOME` defaults to `$HOME/.local/share` but can be overridden by setting the environment variable. If this directory is missing, then `$HOME/.pandoc` is searched instead, for backwards compatibility. However, we recommend moving local pandoc data files from `$HOME/.pandoc` to `$HOME/.local/share/pandoc`. On Windows the default user data directory remains the same. Closes #3582.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r--pandoc.cabal4
1 files changed, 2 insertions, 2 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index 507136790..80b1b8ec7 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -363,7 +363,7 @@ library
exceptions >= 0.8 && < 0.11,
filepath >= 1.1 && < 1.5,
process >= 1.2.3 && < 1.7,
- directory >= 1 && < 1.4,
+ directory >= 1.2.3 && < 1.4,
bytestring >= 0.9 && < 0.11,
text >= 1.1.1.0 && < 1.3,
time >= 1.5 && < 1.10,
@@ -661,7 +661,7 @@ test-suite test-pandoc
base64-bytestring >= 0.1 && < 1.1,
text >= 1.1.1.0 && < 1.3,
time >= 1.5 && < 1.10,
- directory >= 1 && < 1.4,
+ directory >= 1.2.3 && < 1.4,
filepath >= 1.1 && < 1.5,
hslua >= 1.0 && < 1.1,
process >= 1.2.3 && < 1.7,