only warn if not existing symlink
This commit is contained in:
1 parent
11be3a446d
commit
edd9730372
1 file changed
+3
-1
+3
-1
@@ -10,6 +10,8 @@ Dir['*'].each do |file|
|
||||
unless File.exist? target
|
||||
`ln -vsf #{File.expand_path file} #{target}`
|
||||
else
|
||||
puts "#{target} exists"
|
||||
unless File.symlink? target
|
||||
puts "#{target} exists"
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user