home · contact · privacy
Fix.
authorChristian Heller <c.heller@plomlompom.de>
Mon, 6 Apr 2020 20:04:25 +0000 (22:04 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Mon, 6 Apr 2020 20:04:25 +0000 (22:04 +0200)
buster/setup_scripts/setup_dumpsite.sh

index 923072c289259ba221b6aee38fbb6cc277e9f7c6..2fa9d89cfd71d41873b9c94cc68f2431f28e8439 100755 (executable)
@@ -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