X-Git-Url: https://plomlompom.com/repos/?p=config;a=blobdiff_plain;f=buster%2Fsetup_scripts%2Fsetup_dumpsite.sh;h=2fa9d89cfd71d41873b9c94cc68f2431f28e8439;hp=923072c289259ba221b6aee38fbb6cc277e9f7c6;hb=67daca298e2a2ed2ebcf05cf9b5ae72e6a44fd8a;hpb=2b3f10c33b5b8c5f2ff7a71e6b5dcff923f2f960 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