From 1a1b108c23c40b5d7a37d19e482e12d622481af0 Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Sun, 20 Jul 2014 22:55:30 -0300 Subject: [PATCH] Disable apt-lists bucket for windows hosts Fixes GH-106 --- lib/vagrant-cachier/bucket/apt_lists.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/vagrant-cachier/bucket/apt_lists.rb b/lib/vagrant-cachier/bucket/apt_lists.rb index b01b56b..fc383d3 100644 --- a/lib/vagrant-cachier/bucket/apt_lists.rb +++ b/lib/vagrant-cachier/bucket/apt_lists.rb @@ -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)