Skip to content
Snippets Groups Projects
Commit 82f96036 authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[BUGFIX] Remove the dump after importing it

parent af20b329
No related branches found
No related tags found
No related merge requests found
......@@ -494,6 +494,7 @@ node['typo3_site']['sync_databases'].each do |database_data|
bash 'Import Dump for ' + database_data['database_name'] do
code <<-EOF
mysql -h 127.0.0.1 -u root -proot #{database_data['database_name']} < #{database_data['dump_local']}
rm -f #{database_data['dump_local']}
EOF
action :run
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment