Use $HOME/.composer/cache as the root for the composer bucket
Fixes GH-89
This commit is contained in:
parent
4265f58985
commit
c4db3c1ef4
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ module VagrantPlugins
|
|||
def install
|
||||
if guest.capability?(:composer_path)
|
||||
if composer_path = guest.capability(:composer_path)
|
||||
symlink(composer_path, create_parent: false)
|
||||
symlink(composer_path)
|
||||
end
|
||||
else
|
||||
@env[:ui].info I18n.t('vagrant_cachier.skipping_bucket', bucket: 'Composer')
|
||||
|
|
|
@ -11,7 +11,7 @@ module VagrantPlugins
|
|||
composer_path = output.chomp if buffer == :stdout
|
||||
end
|
||||
end
|
||||
return "#{composer_path}/.composer"
|
||||
return "#{composer_path}/.composer/cache"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue