Kay0u
6 years ago
No known key found for this signature in database
GPG Key ID: 7FF262C033518333
3 changed files with
3 additions and
3 deletions
-
conf/config.json
-
scripts/install
-
scripts/upgrade
|
|
|
@ -27,7 +27,7 @@ |
|
|
|
"ldap_group_filter_mode": "0", |
|
|
|
"ldap_groupfilter_objectclass": "posixGroup", |
|
|
|
"ldap_host": "localhost", |
|
|
|
"ldap_login_filter": "(&(|(objectclass=posixAccount))(uid=%uid)(permission=cn=nextcloud.main,ou=permission,dc=yunohost,dc=org))", |
|
|
|
"ldap_login_filter": "(&(|(objectclass=posixAccount))(uid=%uid)(permission=cn=__APP__.main,ou=permission,dc=yunohost,dc=org))", |
|
|
|
"ldap_login_filter_mode": "0", |
|
|
|
"ldap_port": "389", |
|
|
|
"ldap_quota_attr": "userquota", |
|
|
|
|
|
|
|
@ -177,6 +177,7 @@ ynh_secure_remove --file="$nc_conf" |
|
|
|
nc_conf="$final_path/config.json" |
|
|
|
cp ../conf/config.json "$nc_conf" |
|
|
|
|
|
|
|
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$nc_conf" |
|
|
|
exec_occ config:import "$nc_conf" |
|
|
|
|
|
|
|
# Then remove the config file |
|
|
|
|
|
|
|
@ -295,8 +295,7 @@ then |
|
|
|
nc_conf="${final_path}/config.json" |
|
|
|
cp ../conf/config.json "$nc_conf" |
|
|
|
|
|
|
|
ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="$nc_conf" |
|
|
|
ynh_replace_string --match_string="__DATADIR__" --replace_string="$datadir" --target_file="$nc_conf" |
|
|
|
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$nc_conf" |
|
|
|
|
|
|
|
# Ensure that UpdateNotification app is disabled |
|
|
|
exec_occ app:disable updatenotification |
|
|
|
|