fir 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/fir/tasks.rb +4 -1
  2. metadata +2 -2
@@ -103,7 +103,10 @@ module Fir
103
103
  FileUtils.cp_r(File.join(copy_to, 'cache', '.'), copy_to)
104
104
  FileUtils.rm_rf(File.join(copy_to, 'cache'))
105
105
  ['.htaccess', 'dispatch.cgi'].each do |file|
106
- File.delete(File.join(copy_to, file))
106
+ path = File.join(copy_to, file)
107
+ if File.exists?(path)
108
+ File.delete(path)
109
+ end
107
110
  end
108
111
  # Create a simple .htaccess file to enable pretty URLs
109
112
  htaccess =
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 7
9
- version: 0.0.7
8
+ - 8
9
+ version: 0.0.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - jarrett