BigW Consortium Gitlab

Commit 65b68338 by Jacob Vosmaer

Fix custom hooks restore

parent 6b8c2ea8
......@@ -182,7 +182,9 @@ module Backup
dir_entries = Dir.entries(path)
yield('custom_hooks') if dir_entries.include?('custom_hooks')
if dir_entries.include?('custom_hooks') || dir_entries.include?('custom_hooks.tar')
yield('custom_hooks')
end
end
def prepare
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment