Use $HOME/.composer/cache as the root for the composer bucket

Fixes GH-89
This commit is contained in:
Fabio Rehm 2014-07-20 21:11:19 -03:00
parent 4265f58985
commit c4db3c1ef4
2 changed files with 2 additions and 2 deletions

View file

@ -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')

View file

@ -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