summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Siraut <csiraut@entrouvert.com>2020-06-18 15:00:45 (GMT)
committerChristophe Siraut <csiraut@entrouvert.com>2020-06-19 06:12:39 (GMT)
commit19c953f94264dd97d252ad0b831dc70412412951 (patch)
tree43adaa33aa366e9c873bb15e882ea734efc70ca9
parentf308ac7d39c58214c25e78ef9b17244c73bbf688 (diff)
downloadpublik-client-scripts-19c953f94264dd97d252ad0b831dc70412412951.zip
publik-client-scripts-19c953f94264dd97d252ad0b831dc70412412951.tar.gz
publik-client-scripts-19c953f94264dd97d252ad0b831dc70412412951.tar.bz2
add publik-hautes-alpes-scripts (#44233)v1.18
-rw-r--r--debian/control8
-rw-r--r--debian/publik-hautes-alpes-scripts.cron.daily6
2 files changed, 13 insertions, 1 deletions
diff --git a/debian/control b/debian/control
index 23c994c..0fa370b 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,8 @@ Depends: ${misc:Depends},
publik-strasbourg-scripts,
publik-orleans-scripts,
publik-cd06-scripts,
- publik-villeurbanne-scripts
+ publik-villeurbanne-scripts,
+ publik-hautes-alpes-scripts,
Description: Meta package with all Publik client scripts
Package: publik-strasbourg-scripts
@@ -40,3 +41,8 @@ Package: publik-villeurbanne-scripts
Architecture: all
Depends: ${misc:Depends}
Description: Publik scripts for Villeurbanne
+
+Package: publik-hautes-alpes-scripts
+Architecture: all
+Depends: ${misc:Depends}
+Description: Publik scripts for Hautes-Alpes
diff --git a/debian/publik-hautes-alpes-scripts.cron.daily b/debian/publik-hautes-alpes-scripts.cron.daily
new file mode 100644
index 0000000..7073d94
--- /dev/null
+++ b/debian/publik-hautes-alpes-scripts.cron.daily
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+test -d /var/lib/combo || exit
+test -d /usr/share/publik/themes/publik-base/templates/variants/hautes-alpes-2018 || exit
+
+cd /usr/share/publik/themes/publik-base/templates/variants/hautes-alpes-2018 && /usr/bin/python prepare-template.py