vagrant-repo-configure 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d97e6a4990122763f925603f4eefd60919deefde
4
- data.tar.gz: 6fc9cbc8fcbc24be7214b0ef03bc63e87dbe322c
3
+ metadata.gz: de60a70fb7581abc037386bf13b21085b6b64d32
4
+ data.tar.gz: a452cfd27fccfec26ba9440299a3154bfe4da395
5
5
  SHA512:
6
- metadata.gz: 2ce55e0ad019607369bda48597c1651abe39d42720d37a31070ca5a57fe65f004c2749ca66491b7c08c67bb5d362dca4279e55d24b8b90c0d68b1ec2d6eb1100
7
- data.tar.gz: d2f2b85acf676cfc7b6048125752c6eae980b1591fdcee320b2e8e9254141fe1c00b861ecedacd240d3a79a25353b037761507607033d7b2ac93c582628501cc
6
+ metadata.gz: 60f620f52adf28df5ed5749b8eea640dd4821d9dfc8b26188359709d54d3e3984c57ad5b91aee9577efa0a77e92df8d9c06b4579516ad1e7d4a4f6b360ca49e1
7
+ data.tar.gz: 904f41b15a38a0b9ce92c75371f82b889f12e35beb7b48d859709825c686e53a3fd5493686d68c33be68beb2de6187b178b47741ebde5ec44d125688ce77c1fd
@@ -6,9 +6,8 @@ module Vagrant
6
6
  end
7
7
 
8
8
  def call(env)
9
+ vm = env[:vm] || env[:machine]
9
10
  unless vm.config.repos.apt_lines.empty?
10
- vm = env[:vm] || env[:machine]
11
-
12
11
  vm.communicate.sudo('mv /etc/apt/sources.list /etc/apt/sources.list.old')
13
12
 
14
13
  vm.config.repos.apt_lines.each do |line|
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module RepoConfigure
3
- VERSION = '0.0.6'
3
+ VERSION = '0.0.7'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-repo-configure
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Syntactic Vexation