1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/drupal_ynh.git synced 2024-09-03 18:35:53 +02:00

Fix upgrade phpversion

This commit is contained in:
Salamandar 2024-01-22 00:21:51 +01:00
parent 5e41b355aa
commit 1ea9a4c63e

View file

@ -77,8 +77,8 @@ chown -R "$app:www-data" "$install_dir"
pushd "$install_dir"
_ynh_exec_with_drush_php drush "@$app.prod" state:set system.maintenance_mode 1 --input-format=integer
_ynh_exec_with_drush_php php composer.phar update drupal/core webflo/drupal-core-require-dev --with-dependencies
_ynh_exec_with_drush_php php composer.phar update --with-dependencies
_ynh_exec_with_drush_php "php$phpversion" composer.phar update drupal/core webflo/drupal-core-require-dev --with-dependencies
_ynh_exec_with_drush_php "php$phpversion" composer.phar update --with-dependencies
_ynh_exec_with_drush_php drush "@$app.prod" -y updatedb
_ynh_exec_with_drush_php drush "@$app.prod" cache:rebuild
_ynh_exec_with_drush_php drush "@$app.prod" state:set system.maintenance_mode 0 --input-format=integer