aboutsummaryrefslogtreecommitdiff
path: root/flakes/mypackages/pkgs
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2024-06-10 13:19:44 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2024-06-11 00:19:51 +0200
commit49fee6918c32e5293622ad5217a27194af72365f (patch)
tree37cffa94cf9f0ae4c2c88d27ece25537d84b1dcd /flakes/mypackages/pkgs
parent6035129599ef08fa5af62e2ef0d7467ba9d1b748 (diff)
downloadNix-49fee6918c32e5293622ad5217a27194af72365f.tar.gz
Nix-49fee6918c32e5293622ad5217a27194af72365f.tar.zst
Nix-49fee6918c32e5293622ad5217a27194af72365f.zip
Fix shaarli tmp directory
Diffstat (limited to 'flakes/mypackages/pkgs')
-rw-r--r--flakes/mypackages/pkgs/shaarli/shaarli_ldap.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/flakes/mypackages/pkgs/shaarli/shaarli_ldap.patch b/flakes/mypackages/pkgs/shaarli/shaarli_ldap.patch
index e66a54f..2f6c19e 100644
--- a/flakes/mypackages/pkgs/shaarli/shaarli_ldap.patch
+++ b/flakes/mypackages/pkgs/shaarli/shaarli_ldap.patch
@@ -132,12 +132,12 @@ index 32aaea4..99efc15 100644
132- $this->setEmpty('resource.history', 'data/history.php'); 132- $this->setEmpty('resource.history', 'data/history.php');
133+ if ($this->userSpace === null) { 133+ if ($this->userSpace === null) {
134+ $data = 'data'; 134+ $data = 'data';
135+ $tmp = 'tmp'; 135+ $tmp = 'tmp/';
136+ $cache = 'cache'; 136+ $cache = 'cache';
137+ $pagecache = 'pagecache'; 137+ $pagecache = 'pagecache';
138+ } else { 138+ } else {
139+ $data = 'data/' . ($this->userSpace); 139+ $data = 'data/' . ($this->userSpace);
140+ $tmp = 'tmp/' . ($this->userSpace); 140+ $tmp = 'tmp/' . ($this->userSpace) . '/';
141+ $cache = 'cache/' . ($this->userSpace); 141+ $cache = 'cache/' . ($this->userSpace);
142+ $pagecache = 'pagecache/' . ($this->userSpace); 142+ $pagecache = 'pagecache/' . ($this->userSpace);
143+ } 143+ }