X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=bullseye%2Fsetup_scripts%2Fsetup_website.sh;h=ad36796d493e3c578fc7ad7a7ac2f26c5d4245e0;hb=face141943fe110819bb443ddd7175dab58ee743;hp=99d5f4ef23a23146ff1eabb8b039ae7aeec6a98c;hpb=12fc06d10d25a7c74db3addc31051115554844a3;p=config
diff --git a/bullseye/setup_scripts/setup_website.sh b/bullseye/setup_scripts/setup_website.sh
index 99d5f4e..ad36796 100755
--- a/bullseye/setup_scripts/setup_website.sh
+++ b/bullseye/setup_scripts/setup_website.sh
@@ -123,6 +123,12 @@ fi
# TODO systemctl enable plomlombot.service
# TODO service plomlombot start
+# Set up guiltcards.
+su -lc "git clone /var/repos/guiltcards" plom
+cp "${config_tree_prefix}/setup_scripts/mirror_dir.sh" /home/plom/
+su -lc "./mirror_dir.sh ${old_server} /home/plom/guiltcards/decks" plom
+rm /home/plom/mirror_dir.sh
+
# In the above step, we might have created a root-owned /var/www/html â
# fix this here.
chown -R plom:plom /var/www/html