Add missing changes for mediawiki upgrades
This commit is contained in:
@@ -7,9 +7,15 @@
|
||||
|
||||
include_recipe 'composer::install'
|
||||
|
||||
channel = if node['composer']['self_update_channel'].nil?
|
||||
''
|
||||
else
|
||||
" --#{node['composer']['self_update_channel']}"
|
||||
end
|
||||
|
||||
execute 'composer-self_update' do
|
||||
cwd node['composer']['install_dir']
|
||||
command 'composer self-update'
|
||||
command 'composer self-update' + channel
|
||||
environment 'COMPOSER_HOME' => Composer.home_dir(node)
|
||||
action :run
|
||||
ignore_failure true
|
||||
|
||||
Reference in New Issue
Block a user