vimbrew 0.0.1.a.1 → 0.0.1.a.2

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.
@@ -61,13 +61,15 @@ class Vimbrew::Recipe
61
61
  install_path = install_root(recipe_name)
62
62
  link_path = link_root("#{recipe_name}.vb")
63
63
 
64
- inside(install_path) do
65
- recipe = self.new(shell)
66
- recipe.uninstall
64
+ if install_path.directory?
65
+ inside(install_path) do
66
+ recipe = self.new(shell)
67
+ recipe.uninstall
68
+ end
67
69
  end
68
70
 
69
- install_path.rmtree
70
- link_path.unlink
71
+ install_path.rmtree rescue nil
72
+ link_path.unlink rescue nil
71
73
 
72
74
  installed_recipes.delete(self.recipe_name)
73
75
 
@@ -1,3 +1,3 @@
1
1
  module Vimbrew
2
- VERSION = '0.0.1.a.1'
2
+ VERSION = '0.0.1.a.2'
3
3
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vimbrew
3
3
  version: !ruby/object:Gem::Version
4
- hash: 127
4
+ hash: 121
5
5
  prerelease: true
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
9
  - 1
10
10
  - a
11
- - 1
12
- version: 0.0.1.a.1
11
+ - 2
12
+ version: 0.0.1.a.2
13
13
  platform: ruby
14
14
  authors:
15
15
  - Simon Menke
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-07-19 00:00:00 +02:00
20
+ date: 2010-07-20 00:00:00 +02:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency