From 49fee6918c32e5293622ad5217a27194af72365f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 10 Jun 2024 13:19:44 +0200 Subject: Fix shaarli tmp directory --- flakes/mypackages/pkgs/shaarli/shaarli_ldap.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'flakes/mypackages') 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 - $this->setEmpty('resource.history', 'data/history.php'); + if ($this->userSpace === null) { + $data = 'data'; -+ $tmp = 'tmp'; ++ $tmp = 'tmp/'; + $cache = 'cache'; + $pagecache = 'pagecache'; + } else { + $data = 'data/' . ($this->userSpace); -+ $tmp = 'tmp/' . ($this->userSpace); ++ $tmp = 'tmp/' . ($this->userSpace) . '/'; + $cache = 'cache/' . ($this->userSpace); + $pagecache = 'pagecache/' . ($this->userSpace); + } -- cgit v1.2.3