home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enhance Bookworm setup.
[config]
/
bullseye
/
setup_scripts
/
setup_website.sh
diff --git
a/bullseye/setup_scripts/setup_website.sh
b/bullseye/setup_scripts/setup_website.sh
index 99d5f4ef23a23146ff1eabb8b039ae7aeec6a98c..ad36796d493e3c578fc7ad7a7ac2f26c5d4245e0 100755
(executable)
--- 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
# 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
# In the above step, we might have created a root-owned /var/www/html –
# fix this here.
chown -R plom:plom /var/www/html