mirror of
https://github.com/YunoHost-Apps/drupal7_ynh.git
synced 2024-09-03 18:26:19 +02:00
commit
cb923f3107
2 changed files with 21 additions and 21 deletions
|
@ -144,22 +144,22 @@ chown -R $app: $final_path
|
|||
update-alternatives --set php /usr/bin/php$phpversion
|
||||
|
||||
pushd "$final_path"
|
||||
sudo -u $app env PATH=$PATH drush pm-download -y drupal-7 --drupal-project-rename=$app
|
||||
ynh_exec_warn_less sudo -u $app env PATH=$PATH drush pm-download -y drupal-7 --drupal-project-rename=$app
|
||||
popd
|
||||
|
||||
sudo -u $app env PATH=$PATH drush @$app site-install $install_profil --account-name=$admin --account-pass=$password --account-mail=$admin_mail --db-url=mysql://$db_user:$db_pwd@localhost/$db_name --site-name="$app" --locale=$language --yes
|
||||
sudo -u $app env PATH=$PATH drush @$app pm-download drush_language
|
||||
#sudo -u $app env PATH=$PATH drush @$app pm-download ldap
|
||||
#sudo -u $app env PATH=$PATH drush @$app pm-enable -y ldap_servers ldap_user ldap_authentication ldap_authorization ldap_authorization_drupal_role
|
||||
sudo -u $app env PATH=$PATH drush @$app pm-download l10n_update
|
||||
sudo -u $app env PATH=$PATH drush @$app pm-enable -y l10n_update
|
||||
sudo -u $app env PATH=$PATH drush @$app language-add $language
|
||||
sudo -u $app env PATH=$PATH drush @$app language-default $language
|
||||
sudo -u $app env PATH=$PATH drush @$app cache-clear drush
|
||||
sudo -u $app env PATH=$PATH drush @$app l10n-update-refresh
|
||||
sudo -u $app env PATH=$PATH drush @$app l10n-update
|
||||
sudo -u $app env PATH=$PATH drush @$app pm-update
|
||||
sudo -u $app env PATH=$PATH drush @$app core-cron
|
||||
ynh_exec_warn_less sudo -u $app env PATH=$PATH drush @$app site-install $install_profil --account-name=$admin --account-pass=$password --account-mail=$admin_mail --db-url=mysql://$db_user:$db_pwd@localhost/$db_name --site-name="$app" --locale=$language --yes
|
||||
ynh_exec_warn_less sudo -u $app env PATH=$PATH drush @$app pm-download drush_language
|
||||
#ynh_exec_warn_less sudo -u $app env PATH=$PATH drush @$app pm-download ldap
|
||||
#ynh_exec_warn_less sudo -u $app env PATH=$PATH drush @$app pm-enable -y ldap_servers ldap_user ldap_authentication ldap_authorization ldap_authorization_drupal_role
|
||||
ynh_exec_warn_less sudo -u $app env PATH=$PATH drush @$app pm-download l10n_update
|
||||
ynh_exec_warn_less sudo -u $app env PATH=$PATH drush @$app pm-enable -y l10n_update
|
||||
ynh_exec_warn_less sudo -u $app env PATH=$PATH drush @$app language-add $language
|
||||
ynh_exec_warn_less sudo -u $app env PATH=$PATH drush @$app language-default $language
|
||||
ynh_exec_warn_less sudo -u $app env PATH=$PATH drush @$app cache-clear drush
|
||||
ynh_exec_warn_less sudo -u $app env PATH=$PATH drush @$app l10n-update-refresh
|
||||
ynh_exec_warn_less sudo -u $app env PATH=$PATH drush @$app l10n-update
|
||||
ynh_exec_warn_less sudo -u $app env PATH=$PATH drush @$app pm-update
|
||||
ynh_exec_warn_less sudo -u $app env PATH=$PATH drush @$app core-cron
|
||||
|
||||
update-alternatives --set php /usr/bin/php${YNH_DEFAULT_PHP_VERSION}
|
||||
|
||||
|
|
|
@ -110,13 +110,13 @@ export PATH="$final_path/.composer/vendor/bin:$PATH"
|
|||
|
||||
update-alternatives --set php /usr/bin/php$phpversion
|
||||
|
||||
sudo -u $app env PATH=$PATH drush @$app variable-set --exact maintenance_mode 1
|
||||
sudo -u $app env PATH=$PATH drush @$app cache-clear all
|
||||
sudo -u $app env PATH=$PATH drush @$app pm-update -y drupal
|
||||
sudo -u $app env PATH=$PATH drush @$app cache-clear all
|
||||
sudo -u $app env PATH=$PATH drush @$app l10n-update-refresh
|
||||
sudo -u $app env PATH=$PATH drush @$app l10n-update
|
||||
sudo -u $app env PATH=$PATH drush @$app variable-set --exact maintenance_mode 0
|
||||
ynh_exec_warn_less sudo -u $app env PATH=$PATH drush @$app variable-set --exact maintenance_mode 1
|
||||
ynh_exec_warn_less sudo -u $app env PATH=$PATH drush @$app cache-clear all
|
||||
ynh_exec_warn_less sudo -u $app env PATH=$PATH drush @$app pm-update -y drupal
|
||||
ynh_exec_warn_less sudo -u $app env PATH=$PATH drush @$app cache-clear all
|
||||
ynh_exec_warn_less sudo -u $app env PATH=$PATH drush @$app l10n-update-refresh
|
||||
ynh_exec_warn_less sudo -u $app env PATH=$PATH drush @$app l10n-update
|
||||
ynh_exec_warn_less sudo -u $app env PATH=$PATH drush @$app variable-set --exact maintenance_mode 0
|
||||
|
||||
update-alternatives --set php /usr/bin/php${YNH_DEFAULT_PHP_VERSION}
|
||||
|
||||
|
|
Loading…
Reference in a new issue