diff --git a/scripts/upgrade b/scripts/upgrade index e2a8f498..2756894e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -156,6 +156,11 @@ ynh_print_info --message="Updating php dependencies..." chown -R "$app": "$final_path" +# 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 + # Fix Google Recaptcha removal ynh_secure_remove --file="$final_path/bootstrap/cache" mkdir -p "$final_path/bootstrap/cache"