vagrant-parallels 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d7e330e0bf4f7340f2aaf9c7ed6b79d0c52cc0b8
4
- data.tar.gz: 52857d66b61b476eab91d9b66fe4af6a2f269ec7
3
+ metadata.gz: 3bb0c73a32406073cd7cbbef316c2948a66d189a
4
+ data.tar.gz: c1570c322c010f90bca25f4c5ebfa637e92a78fe
5
5
  SHA512:
6
- metadata.gz: b65c6441960be8af4f3957a416af8c49fad42749033af657f9407afa2c23bdb5abb826b9ac77b328b946d33df2994f59a00724b495f18d6629115f25c4d4e5d9
7
- data.tar.gz: 339138fdf2352086a31b85a5803229b1d265659ffe0cba3626f8add48a168876e35814088983b8bc28340de2e16eedf7766c41e7aca84d95528262738e9fe46c
6
+ metadata.gz: 522c879332300104120ef72300f8f28ced3fcd00e9289f8d9598850fad0c69b98b519e049a4893bd9e5c9702d3cbc30717845d415873cb9fb32083f6045192a0
7
+ data.tar.gz: 2a7b8f00fe6754fb82e3a8d80632756a335b729506f32a84b62148b1b1b3ef3716db7013dffcf031f60a5b4fb0907f0d0fc29900c311c712a07acf2ada975c3d
@@ -34,7 +34,9 @@ module VagrantPlugins
34
34
  mount_commands << "mount -t prl_fs #{mount_options} #{name} #{expanded_guest_path}"
35
35
 
36
36
  # Clear prior symlink if exists
37
- machine.communicate.sudo("test -L #{expanded_guest_path} && rm -f #{expanded_guest_path}")
37
+ if machine.communicate.test("test -L #{expanded_guest_path}")
38
+ machine.communicate.sudo("rm #{expanded_guest_path}")
39
+ end
38
40
 
39
41
  # Create the guest path if it doesn't exist
40
42
  machine.communicate.sudo("mkdir -p #{expanded_guest_path}")
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Parallels
3
- VERSION = "1.0.3"
3
+ VERSION = "1.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-parallels
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikhail Zholobov