diff --git a/scripts/install b/scripts/install index a8cd38f..c127d98 100644 --- a/scripts/install +++ b/scripts/install @@ -92,14 +92,14 @@ ynh_app_setting_set $app bazaar_extension $bazaar_extension if [ "$(lsb_release --codename --short)" = "buster" ]; then pkg_dependencies="$pkg_dependencies $extra_pkg_dependencies" else - ynh_print_info --message="Installing php${php_version}..." + ynh_script_progression --message="Installing php${php_version}..." --time --weight=1 ynh_install_php --phpversion="${php_version}" --package="$extra_pkg_dependencies" fi #================================================= # INSTALL DEPENDENCIES #================================================= -ynh_print_info --message="Installing dependencies..." +ynh_script_progression --message="Installing dependencies..." --time --weight=1 _ynh_install_app_dependencies "$pkg_dependencies" diff --git a/scripts/restore b/scripts/restore index 15770c8..393a2e6 100644 --- a/scripts/restore +++ b/scripts/restore @@ -81,7 +81,7 @@ chmod -R 0775 $final_path if [ "$(lsb_release --codename --short)" = "buster" ]; then pkg_dependencies="$pkg_dependencies $extra_pkg_dependencies" else - ynh_print_info --message="Installing php${php_version}..." + ynh_script_progression --message="Installing php${php_version}..." --time --weight=1 ynh_install_php --phpversion="${php_version}" --package="$extra_pkg_dependencies" fi diff --git a/scripts/upgrade b/scripts/upgrade index dc83152..a7ddbe6 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -141,14 +141,14 @@ ynh_add_nginx_config if [ "$(lsb_release --codename --short)" = "buster" ]; then pkg_dependencies="$pkg_dependencies $extra_pkg_dependencies" else - ynh_print_info --message="Upgrading php${php_version}..." + ynh_script_progression --message="Upgrading php${php_version}..." --time --weight=1 ynh_install_php --phpversion="${php_version}" --package="$extra_pkg_dependencies" fi #================================================= # UPGRADE DEPENDENCIES #================================================= -ynh_print_info --message="Upgrading dependencies..." +ynh_script_progression --message="Upgrading dependencies..." --time --weight=1 _ynh_install_app_dependencies "$pkg_dependencies"