diff --git a/recipes/default.rb b/recipes/default.rb index 09beeb592f3119eb6bfc87a2a3f4503ce1c1592b..e4ea13458c98f636c7f4b7556a7c721c132b9354 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -265,6 +265,11 @@ end #################### node['typo3_site']['create_links'].each do |link_data| + execute 'remove link target' do + command "rm -f #{link_data['target']}" + action :run + end + link link_data['source'] do to link_data['target'] end