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

without sleep during upgrade

This commit is contained in:
yalh76 2020-03-26 22:29:23 +01:00
parent 9c0f01e012
commit 9700603b86

View file

@ -156,11 +156,6 @@ export PATH="$final_path/vendor/bin:$PATH"
#sudo -u $app env PATH=$PATH drush @$app.prod l10n-update-refresh
#sudo -u $app env PATH=$PATH drush @$app.prod l10n-update
# Bypass composer issue and GitHub Rate Limit https://developer.github.com/v3/#rate-limiting
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
sleep 3600
fi
pushd "$final_path"
update-alternatives --set php /usr/bin/php7.3
sudo -u $app env PATH=$PATH drush @$app.prod state:set system.maintenance_mode 1 --input-format=integer