2021-08-28 10:40:13 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
if [ ! -e "cinera.conf" ]; then
|
|
|
|
echo "Can't find cinera.conf"
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
. cinera.conf
|
|
|
|
|
|
|
|
if [ ! -d $CINERA_HMML_PATH ]; then
|
2021-09-04 21:09:01 +00:00
|
|
|
git clone --config core.sshCommand="ssh -i ~/.ssh/gitlab-hmml" git@gitssh.handmade.network:Annotation-Pushers/cinera_handmade.network.git $CINERA_HMML_PATH
|
2021-08-28 10:40:13 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ ! -d $CINERA_HMML_PATH ]; then
|
|
|
|
echo "Failed to clone annotation repo"
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
|
|
|
cd $CINERA_HMML_PATH
|
|
|
|
git pull
|
2021-09-04 20:19:12 +00:00
|
|
|
chown -R $ANNOTATIONS_USER:$ANNOTATIONS_USER_GROUP $CINERA_HMML_PATH
|
2021-08-28 10:40:13 +00:00
|
|
|
|
|
|
|
cp -av $CINERA_HMML_PATH/cmuratori/hero/cinera__hero.css $CINERA_ASSETS_PATH/
|
|
|
|
cp -av $CINERA_HMML_PATH/miotatsu/riscy/cinera__riscy.css $CINERA_ASSETS_PATH/
|
|
|
|
cp -av $CINERA_HMML_PATH/pervognsen/bitwise/cinera__bitwise.css $CINERA_ASSETS_PATH/
|