aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-01-18 07:32:39 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-01-18 07:32:39 +0100
commit6de72a20634f01a13932b9c89a275e54ca66ab65 (patch)
tree24ce35c2c26b26079f561b90bb2eeee6d7ad3ba5
parent646bdf3eff9a0b154a7946bab2f0b7c459eb4165 (diff)
downloadNix-6de72a20634f01a13932b9c89a275e54ca66ab65.tar.gz
Nix-6de72a20634f01a13932b9c89a275e54ca66ab65.tar.zst
Nix-6de72a20634f01a13932b9c89a275e54ca66ab65.zip
Fix ludivine's website
-rw-r--r--virtual/modules/websites/ludivine/ludivinecassal.json6
-rw-r--r--virtual/modules/websites/ludivine/ludivinecassal.nix1
2 files changed, 4 insertions, 3 deletions
diff --git a/virtual/modules/websites/ludivine/ludivinecassal.json b/virtual/modules/websites/ludivine/ludivinecassal.json
index 89667c0..95ed12a 100644
--- a/virtual/modules/websites/ludivine/ludivinecassal.json
+++ b/virtual/modules/websites/ludivine/ludivinecassal.json
@@ -1,5 +1,5 @@
1{ 1{
2 "tag": "4327b82-master", 2 "tag": "a06b5f4-master",
3 "meta": { 3 "meta": {
4 "name": "ludivinecassal", 4 "name": "ludivinecassal",
5 "url": "gitolite@git.immae.eu:perso/Immae/Sites/Ludivine", 5 "url": "gitolite@git.immae.eu:perso/Immae/Sites/Ludivine",
@@ -7,8 +7,8 @@
7 }, 7 },
8 "git": { 8 "git": {
9 "url": "gitolite@git.immae.eu:perso/Immae/Sites/Ludivine", 9 "url": "gitolite@git.immae.eu:perso/Immae/Sites/Ludivine",
10 "rev": "4327b82ec00cc514bfce5aa7155bcdbcc871c065", 10 "rev": "a06b5f4df2e206a3f1fe2f04355d9d1c1f33ce87",
11 "sha256": "1c5hnzvyvj45j61v2v5mh1l405ih74f58isr9dq21428kcfc2gyd", 11 "sha256": "19gpnhlfnmmbx1dh8qrpjv4cgyhd2fw2l0zcw19igm5djr4ram8a",
12 "fetchSubmodules": true 12 "fetchSubmodules": true
13 } 13 }
14} 14}
diff --git a/virtual/modules/websites/ludivine/ludivinecassal.nix b/virtual/modules/websites/ludivine/ludivinecassal.nix
index ac63735..2d0217b 100644
--- a/virtual/modules/websites/ludivine/ludivinecassal.nix
+++ b/virtual/modules/websites/ludivine/ludivinecassal.nix
@@ -138,6 +138,7 @@ let
138 deps = [ "wrappers" ]; 138 deps = [ "wrappers" ];
139 text = '' 139 text = ''
140 install -m 0755 -o ${apache.user} -g ${apache.group} -d ${varDir} 140 install -m 0755 -o ${apache.user} -g ${apache.group} -d ${varDir}
141 install -m 0755 -o ${apache.user} -g ${apache.group} -d ${varDir}/tmp
141 install -m 0750 -o ${apache.user} -g ${apache.group} -d ${varDir}/phpSessions 142 install -m 0750 -o ${apache.user} -g ${apache.group} -d ${varDir}/phpSessions
142 if [ ! -f "${varDir}/currentWebappDir" -o \ 143 if [ ! -f "${varDir}/currentWebappDir" -o \
143 "${webappDir}" != "$(cat ${varDir}/currentWebappDir 2>/dev/null)" ]; then 144 "${webappDir}" != "$(cat ${varDir}/currentWebappDir 2>/dev/null)" ]; then