Disable apt-lists bucket for windows hosts

Fixes GH-106
This commit is contained in:
Fabio Rehm 2014-07-20 22:55:30 -03:00
parent 2b6a07d000
commit 1a1b108c23

View file

@ -7,6 +7,10 @@ module VagrantPlugins
end
def install
# Apt lists bucket can't be used on windows hosts
# https://github.com/fgrehm/vagrant-cachier/issues/106
return if Vagrant::Util::Platform.windows?
if guest.capability?(:apt_lists_dir)
guest_path = guest.capability(:apt_lists_dir)