diff --git a/libimagrt/src/runtime.rs b/libimagrt/src/runtime.rs index a942b261..05eb3506 100644 --- a/libimagrt/src/runtime.rs +++ b/libimagrt/src/runtime.rs @@ -139,7 +139,7 @@ impl<'a> Runtime<'a> { let sp = storepath; let hooks : Vec<(Box, &str, HP)> = vec![ - (Box::new(GitDeleteHook::new(sp.clone(), HP::PreDelete)) , "vcs", HP::PreDelete), + (Box::new(GitDeleteHook::new(sp.clone(), HP::PostDelete)) , "vcs", HP::PostDelete), (Box::new(GitUpdateHook::new(sp, HP::PostUpdate)) , "vcs", HP::PostUpdate), ];