Commit e6b837aa authored by Mayoro Diagne's avatar Mayoro Diagne

using configure script to remove installation files and change mode of config.php

parent 0ab77ab7
......@@ -15,3 +15,7 @@ mysql_install_binary = ${mariadb:location}/bin/mysql_install_db
mysql_upgrade_binary = ${mariadb:location}/bin/mysql_upgrade
mysqld_binary = ${mariadb:location}/libexec/mysqld
table_name = themes
constraint = `pn_id`>0
script = ${configure-script:location}/${configure-script:filename}
......@@ -8,6 +8,7 @@ parts =
eggs
instance-recipe-egg
downloadcache-workaround
configure-script
extends =
http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/lamp:/stack/lamp.cfg
......@@ -23,6 +24,16 @@ script =
workdir = guessworkdir(extract_dir)
self.copyTree(workdir , "${buildout:parts-directory}/${:_buildout_section_name_}")
[configure-script]
recipe = slapos.recipe.download
location = ${buildout:parts-directory}/${:_buildout_section_name_}
url = https://gitorious.org/~mayoro/slapos/yoro-slapos/blobs/raw/master/software/zikula/configure-zikula.py
md5sum = c4d5f87d8f02cad3f20e679160195f48
filename = configure-zikula.py
download-only = True
mode = 0744
[instance-recipe]
egg = slapos.cookbook
module = lamp.simple
......@@ -31,7 +42,6 @@ module = lamp.simple
# Default template for the instance.
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
#${:_profile_base_location_}/instance.cfg
#md5sum = Student shall put md5 of instance.cfg here
output = ${buildout:directory}/template.cfg
mode = 0644
......@@ -47,7 +57,7 @@ eggs =
[versions]
# Use SlapOS patched zc.buildout
zc.buildout = 1.5.3-dev-SlapOS-010
slapos.cookbook = 0.32
slapos.cookbook = 0.34
[downloadcache-workaround]
# workaround irritating problem of hexagonit.recipe.cmmi which automatically
......@@ -60,3 +70,8 @@ download-cache = ${buildout:directory}/downloads
command = [ -d ${:download-cache} ] && rm -fr ${:download-cache}/* || exit 0
update-command = ${:command}
stop-on-error = True
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment