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 w530 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 97e6c948378ce9de4e8be97d33915f3554d38ee6..ad36796d493e3c578fc7ad7a7ac2f26c5d4245e0 100755
(executable)
--- a/
bullseye/setup_scripts/setup_website.sh
+++ b/
bullseye/setup_scripts/setup_website.sh
@@
-74,7
+74,7
@@
cp "${config_tree_prefix}/other_files/website_hook_post-receive" /var/repos/webs
su -lc 'cd /var/www && git clone /var/repos/website.git .' plom
# Add encryption key.
su -lc 'cd /var/www && git clone /var/repos/website.git .' plom
# Add encryption key.
-keyservers='
sks-keyservers.net/ keys.gnupg.net
'
+keyservers='
keyserver.ubuntu.com pgp.surf.nl pgp.rediris.es
'
set +e
while true; do
do_break=0
set +e
while true; do
do_break=0
@@
-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