Sha256: 4c39071de552661d10abfd534e0554c0e69c34a8db75306352341a82883b2b81
Contents?: true
Size: 593 Bytes
Versions: 10
Compression:
Stored size: 593 Bytes
Contents
module VagrantPlugins module Cachier class Bucket class Apt < Bucket def self.capability :apt_cache_dir end def install if guest.capability?(:apt_cache_dir) guest_path = guest.capability(:apt_cache_dir) return if @env[:cache_dirs].include?(guest_path) symlink(guest_path) comm.execute("mkdir -p /tmp/vagrant-cache/#{@name}/partial") else @env[:ui].info I18n.t('vagrant_cachier.skipping_bucket', bucket: 'APT') end end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems