remotebackup 0.51.0 → 0.51.1

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.
Files changed (2) hide show
  1. data/lib/remotebackup.rb +2 -1
  2. metadata +1 -1
data/lib/remotebackup.rb CHANGED
@@ -10,7 +10,7 @@ require "date"
10
10
  require 'logger'
11
11
  require 'yaml'
12
12
  module Remotebackup
13
- VERSION='0.51.0'
13
+ VERSION='0.51.1'
14
14
  class Node
15
15
  attr_accessor :ftype,:name,:makeMap
16
16
  LS_FILE = /([-a-z]*)\s+(\d+)\s+(\S+)\s+(\S+)\s+(\d*)\s+([A-Z][a-z]*)\s+(\d+)\s+([\d:]*)\s+(.*)/
@@ -298,6 +298,7 @@ module Remotebackup
298
298
  FileUtils.mkdir_p(@config_out_dir + "/" + dir)
299
299
  end
300
300
  @file_info_map["symbolic"].each do |key,val|
301
+ FileUtils.rm_r([@config_out_dir + "/" + key],{:force=>true})
301
302
  msg_out "link -s #{val['source']} #{@config_out_dir}/#{key}"
302
303
  FileUtils.symlink(val["source"],@config_out_dir + "/" + key)
303
304
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remotebackup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.51.0
4
+ version: 0.51.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - takeshi morita