mirror of
https://github.com/YunoHost-Apps/flarum_ynh.git
synced 2024-09-03 18:36:24 +02:00
[enh] ynh_script_progression all the things
This commit is contained in:
parent
70ea8ff9ed
commit
ab6fbf15cd
3 changed files with 5 additions and 5 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue