Commit 2c8a959c authored by Łukasz Nowak's avatar Łukasz Nowak

- to not try to recreate database when already exist


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33087 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 60a7bca8
......@@ -52,4 +52,6 @@ depends =
recipe = plone.recipe.command
command =
mkdir -p ${configuration:mysql_datadir}
${software_definition:mysql_software}/bin/mysql_install_db --datadir=${configuration:mysql_datadir}
[ -f ${configuration:mysql_datadir}/ibdata1 ] || ${software_definition:mysql_software}/bin/mysql_install_db --datadir=${configuration:mysql_datadir}
update-command = ${:command}
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