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
|
def install
|
||||||
if guest.capability?(:composer_path)
|
if guest.capability?(:composer_path)
|
||||||
if composer_path = guest.capability(:composer_path)
|
if composer_path = guest.capability(:composer_path)
|
||||||
symlink(composer_path, create_parent: false)
|
symlink(composer_path)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
@env[:ui].info I18n.t('vagrant_cachier.skipping_bucket', bucket: 'Composer')
|
@env[:ui].info I18n.t('vagrant_cachier.skipping_bucket', bucket: 'Composer')
|
||||||
|
|
|
@ -11,7 +11,7 @@ module VagrantPlugins
|
||||||
composer_path = output.chomp if buffer == :stdout
|
composer_path = output.chomp if buffer == :stdout
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
return "#{composer_path}/.composer"
|
return "#{composer_path}/.composer/cache"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue