Commit bb46f8ab authored by Marco Marinello's avatar Marco Marinello

Add data location; quotes for string (readable for editor)

Signed-off-by: Marco Marinello's avatarMarco Marinello <me@marcomarinello.it>
parent 9110ea98
......@@ -51,6 +51,7 @@ run_as 'php /var/www/html/occ config:app:set theming slogan --value "${INSTITUTE
run_as 'php /var/www/html/occ config:app:set theming color --value "#996400"'
run_as 'php /var/www/html/occ config:app:set theming url --value "http://access.fuss.bz.it"'
run_as 'php /var/www/html/occ config:app:set files default_quota --value 2MB'
run_as 'php /var/www/html/occ config:app:set privacy readableLocation --value it'
run_as 'cp /var/www/images/logo.png /var/www/html/core/img/logo/logo.png'
run_as 'cp /var/www/images/logo.svg /var/www/html/core/img/logo/logo.svg'
run_as 'php /var/www/html/occ maintenance:theme:update'
......@@ -66,7 +67,7 @@ run_as 'php /var/www/html/occ config:system:set skeletondirectory --value /var/w
# Check if ldap has to be configured
if [ -z "$(run_as 'php /var/www/html/occ ldap:show-config')" ]; then
echo Configure LDAP oAuth for FUSS Server
echo "Configure LDAP oAuth for FUSS Server"
run_as 'php /var/www/html/occ ldap:create-empty-config'
run_as "php /var/www/html/occ ldap:set-config s01 ldapHost 'ldaps://${FUSS_SERVER_FQDN}'"
run_as "php /var/www/html/occ ldap:set-config s01 ldapBase ${LDAP_BASE_DN}"
......@@ -99,7 +100,7 @@ fi
# Check if remote share needs to be configured
if [ "No admin mounts configured" = "$(run_as 'php /var/www/html/occ files_external:list')" ]; then
echo Configure remote homes for FUSS Server
echo "Configure remote homes for FUSS Server"
cat > /tmp/fe_conf.txt <<EOF
{
"mount_id": 3,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment