hmn/cinera/setup.sh

22 lines
463 B
Bash
Raw Normal View History

#!/bin/bash
if [ ! -e "cinera.conf" ]; then
echo "Can't find cinera.conf"
exit
fi
. cinera.conf
2021-09-04 20:19:12 +00:00
mkdir -p $CINERA_OUTPUT_PATH
mkdir -p $CINERA_ASSETS_PATH
mkdir -p $CINERA_SCRIPT_PATH/data
chgrp $ANNOTATIONS_USER_GROUP $CINERA_OUTPUT_PATH
chgrp $ANNOTATIONS_USER_GROUP $CINERA_ASSETS_PATH
chgrp $ANNOTATIONS_USER_GROUP $CINERA_SCRIPT_PATH
chgrp $ANNOTATIONS_USER_GROUP $CINERA_SCRIPT_PATH/data
./update_cinera.sh
./update_annotations.sh
2021-08-28 20:36:52 +00:00
mkdir -p data