summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Siraut <csiraut@entrouvert.com>2020-06-23 08:32:34 (GMT)
committerChristophe Siraut <csiraut@entrouvert.com>2020-06-23 08:37:06 (GMT)
commitb9cd5dd057fe6d1570117ffbf0d8500e37334ee8 (patch)
treec7895968825b157591af5e3be21ffab14a061c33
parent19c953f94264dd97d252ad0b831dc70412412951 (diff)
downloadpublik-client-scripts-b9cd5dd057fe6d1570117ffbf0d8500e37334ee8.zip
publik-client-scripts-b9cd5dd057fe6d1570117ffbf0d8500e37334ee8.tar.gz
publik-client-scripts-b9cd5dd057fe6d1570117ffbf0d8500e37334ee8.tar.bz2
cron: do not fail on tests exit (#44351)v1.19
-rw-r--r--debian/publik-hautes-alpes-scripts.cron.daily4
-rw-r--r--debian/publik-villeurbanne-scripts.cron.daily4
2 files changed, 4 insertions, 4 deletions
diff --git a/debian/publik-hautes-alpes-scripts.cron.daily b/debian/publik-hautes-alpes-scripts.cron.daily
index 7073d94..239100a 100644
--- a/debian/publik-hautes-alpes-scripts.cron.daily
+++ b/debian/publik-hautes-alpes-scripts.cron.daily
@@ -1,6 +1,6 @@
#!/bin/sh
-test -d /var/lib/combo || exit
-test -d /usr/share/publik/themes/publik-base/templates/variants/hautes-alpes-2018 || exit
+test -d /var/lib/combo || exit 0
+test -d /usr/share/publik/themes/publik-base/templates/variants/hautes-alpes-2018 || exit 0
cd /usr/share/publik/themes/publik-base/templates/variants/hautes-alpes-2018 && /usr/bin/python prepare-template.py
diff --git a/debian/publik-villeurbanne-scripts.cron.daily b/debian/publik-villeurbanne-scripts.cron.daily
index 1b91af2..b4bf507 100644
--- a/debian/publik-villeurbanne-scripts.cron.daily
+++ b/debian/publik-villeurbanne-scripts.cron.daily
@@ -1,7 +1,7 @@
#!/bin/sh
-test -d /var/lib/combo || exit
-test -d /usr/share/publik/themes/publik-base/templates/variants/villeurbanne-2018 || exit
+test -d /var/lib/combo || exit 0
+test -d /usr/share/publik/themes/publik-base/templates/variants/villeurbanne-2018 || exit 0
hostname -f | grep -q test.saas.entrouvert.org && (
cd /usr/share/publik/themes/publik-base/templates/variants/villeurbanne-2018 &&