Restore custom hooks for wiki
This commit is contained in:
parent
14e35ac9b1
commit
099eb8ae40
1 changed files with 2 additions and 0 deletions
|
@ -206,6 +206,8 @@ module Backup
|
|||
progress.print " * #{wiki.full_path} ... "
|
||||
begin
|
||||
wiki.repository.create_from_bundle(path_to_wiki_bundle)
|
||||
restore_custom_hooks(wiki)
|
||||
|
||||
progress.puts "[DONE]".color(:green)
|
||||
rescue => e
|
||||
progress.puts "[Failed] restoring #{wiki.full_path} wiki".color(:red)
|
||||
|
|
Loading…
Reference in a new issue