From: Christian Heller Date: Mon, 6 Apr 2020 20:04:25 +0000 (+0200) Subject: Fix. X-Git-Url: https://plomlompom.com/repos/%22https:/validator.w3.org/%7B%7Bdb.prefix%7D%7D/index.html?a=commitdiff_plain;h=67daca298e2a2ed2ebcf05cf9b5ae72e6a44fd8a;p=config Fix. --- 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