home · contact · privacy
Fix guiltcards setup.
[config] / bullseye / setup_scripts / setup_website.sh
index d2dd5e87a94ba4d16a4a199bbb8bb60adf078cad..ad36796d493e3c578fc7ad7a7ac2f26c5d4245e0 100755 (executable)
@@ -125,6 +125,9 @@ fi
 
 # 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.