set app paths correctly

This commit is contained in:
Sebastian Hugentobler 2018-01-30 12:39:29 +01:00
parent bf05a931dd
commit ef54e89760

View File

@ -101,3 +101,5 @@ s6-setuidgid nginx ./occ config:app:set --value "0" user_ldap ldap_turn_on_pwd_c
s6-setuidgid nginx ./occ config:app:set --value "" user_ldap ldap_dynamic_group_member_url
s6-setuidgid nginx ./occ config:app:set --value "" user_ldap ldap_default_ppolicy_dn
s6-setuidgid nginx ./occ config:app:set --value "1" user_ldap ldap_configuration_active
sed -i -e "s/'maintenance' => false,/'maintenance' => false,'apps_paths' => array (0 => array ('path' => '/usr/share/webapps/nextcloud/apps', 'url' => '/apps', 'writable' => false, ), 1 => array ('path' => '/var/lib/nextcloud/apps', 'url' => '/apps-appstore', 'writable' => true,),),/g" /etc/nextcloud/config.php