fixed shared directories
[p5sagit/Oyster.git] / lib / Oyster / Deploy / Git.pm
index 8298724..9f9f891 100644 (file)
@@ -20,9 +20,9 @@ sub create {
   my $git = Git::Wrapper->new($location);
   
   
-  copy(dist_file( 'Oyster', './bin/git/post-receive'), ($git->dir . '.git/hooks/')) 
+  copy(dist_file( 'Oyster', './deploy/git/post-receive'), ($git->dir . '.git/hooks/')) 
     or Error::Simple->throw('Creating post commit hooks failed.');
-  copy(dist_file( 'Oyster', './bin/git/post-update'), ($git->dir . '.git/hooks/')) 
+  copy(dist_file( 'Oyster', './deploy/git/post-update'), ($git->dir . '.git/hooks/')) 
     or Error::Simple->throw('Creating post commit hooks failed.');
   
   chmod(0x755, ('./bin/git/hooks/post-receive', './bin/git/hooks/post-update'));