Commit 814347c6 authored by Dmitry Blinov's avatar Dmitry Blinov

proview-r make cp of db folder more robust

parent 371fdd3b
......@@ -127,8 +127,9 @@ display = :98
recipe = plone.recipe.command
pwr-db = ${directory:pwrp}/db
pwr-flag = ${directory:pwrp}/flag
command =
cp -r {{ proview_directory }}/local/adm/db/ ${:pwr-db}/.. #cp will make extra 'db' folder
command = echo 'cp -r {{ proview_directory }}/local/adm/db/ ${:pwr-db}/.. '
echo 'cp -r {{ proview_directory }}/local/adm/db/ ${directory:pwrp}/' > ${directory:pwrp}/test
cp -r {{ proview_directory }}/local/adm/db/ ${directory:pwrp}/ #cp will make extra 'db' folder
echo PORT=5901 > ${:pwr-flag}
cat <<EOF > ${buildout:directory}/.rtt_start
#!/bin/bash
......@@ -141,7 +142,7 @@ command =
$pwr_exe/rt_xtt &
EOF
update-command =
update-command = echo updating and doing nothing
stop-on-error = true
[proview-environment]
......
......@@ -68,7 +68,7 @@ mode = 0644
[template-proview-r]
<= download-base
md5sum = 08230f00da4dd365e23d78f0d17f826e
md5sum = b1f31e7f5f9d6eab35842dac5e5697a4
filename = instance-proview-r.cfg.jinja2.in
[template-pwrp-profile]
......
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