From 67daca298e2a2ed2ebcf05cf9b5ae72e6a44fd8a Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Mon, 6 Apr 2020 22:04:25 +0200
Subject: [PATCH] Fix.

---
 buster/setup_scripts/setup_dumpsite.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/buster/setup_scripts/setup_dumpsite.sh b/buster/setup_scripts/setup_dumpsite.sh
index 923072c..2fa9d89 100755
--- a/buster/setup_scripts/setup_dumpsite.sh
+++ b/buster/setup_scripts/setup_dumpsite.sh
@@ -46,13 +46,13 @@ rm /home/plom/prepare_to_meet_server.sh
 
 # Set up zettel.
 su -lc "git clone --mirror ${old_server}:zettel.git" plom
-cp "${config_tree_prefix}/other_files/zettel_hook_post-receive" /home/plom/zettel.git/hooks/
+cp "${config_tree_prefix}/other_files/zettel_hook_post-receive" /home/plom/zettel.git/hooks/post-receive
 su -lc "git clone ~/zettel.git && cd zettel && redo" plom
 su -lc "ln -s /home/plom/zettel /var/www-dump/zettel" plom
 
 # Set up redo blog.
 su -lc "git clone --mirror ${old_server}:blog.git" plom
-cp "${config_tree_prefix}/other_files/blog_hook_post-receive" /home/plom/blog.git/hooks/
+cp "${config_tree_prefix}/other_files/blog_hook_post-receive" /home/plom/blog.git/hooks/post-receive
 su -lc "git clone ~/blog.git" plom
 # FIXME: we should not depend on a GitHub repo
 su -lc "git clone https://github.com/plomlompom/redo-blog.git" plom
-- 
2.30.2