remotebackup 0.51.0 → 0.51.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/remotebackup.rb +2 -1
- 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.
|
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
|