diff --git a/scripts/install b/scripts/install index 230c2e9..6e5d9ea 100644 --- a/scripts/install +++ b/scripts/install @@ -216,7 +216,7 @@ sudo -u $app env PATH=$PATH drush @$app cache-clear drush -y 2>&1 sudo -u $app env PATH=$PATH drush @$app l10n-update-refresh -y 2>&1 sudo -u $app env PATH=$PATH drush @$app l10n-update -y 2>&1 -# We don't upgrade module to avoid to erase framaforms change +# We don't upgrade module to avoid to erase framaforms change # in drupal core and modules code # see https://framagit.org/framasoft/framaforms/-/wikis/modifications #sudo -u $app env PATH=$PATH drush @$app pm-update -y @@ -237,7 +237,7 @@ sudo -u $app env PATH=$PATH drush @$app sql-query "UPDATE block SET region='-1', #================================================= ynh_script_progression --message="Configuring LDAP authentication..." --weight=1 -sudo -u $app env PATH=$PATH drush @$app pm-download ldap +sudo -u $app env PATH=$PATH drush @$app pm-download ldap-7.x-2.6 sudo -u $app env PATH=$PATH drush @$app pm-enable -y ldap_servers ldap_user ldap_authentication ldap_authorization ldap_authorization_drupal_role # Generated with sudo -u postgres pg_dump -a -t ldap_servers --inserts framaforms sudo -u $app env PATH=$PATH drush @$app sql-query "INSERT INTO public.ldap_servers VALUES ('localhost', 1, 'localhost', 1, 'default', 'ldap://127.0.0.1', 389, 0, 0, 3, '', NULL, 'a:2:{i:0;s:27:\"ou=users,dc=yunohost,dc=org\";i:1;s:32:\"ou=permission,dc=yunohost,dc=org\";}', 'uid', 'uid', 'mail', '', '', '', 0, 'cn=%username,ou=users,dc=yunohost,dc=org', '', '', '', 0, 'permissionynh', 0, 1, 'permission', 'memberuid', 'dn', 0, '', '$app.main', '', 0, 1000, 0);"