Fix install script

This commit is contained in:
viennet 2020-09-28 15:46:46 +02:00
parent 2f1aef0d55
commit 599f5de114

View File

@ -32,8 +32,8 @@ fi
chgrp www-data $SCODOC_DIR $SCODOC_DIR/ZopeProducts/* chgrp www-data $SCODOC_DIR $SCODOC_DIR/ZopeProducts/*
chmod g+w $SCODOC_DIR $SCODOC_DIR/ZopeProducts/* chmod g+w $SCODOC_DIR $SCODOC_DIR/ZopeProducts/*
chgrp -R www-data "${SCODOC_DIR}"/static/photos chgrp -R www-data "${SCODOC_VAR_DIR}"/photos
chmod -R g+w "${SCODOC_DIR}"/static/photos chmod -R g+w "${SCODOC_VAR_DIR}"/photos
if [ ! -e "${SCODOC_VERSION_DIR}" ]; then if [ ! -e "${SCODOC_VERSION_DIR}" ]; then
mkdir "${SCODOC_VERSION_DIR}" mkdir "${SCODOC_VERSION_DIR}"