mirror of
https://github.com/YunoHost-Apps/fab-manager_ynh.git
synced 2024-09-03 18:36:16 +02:00
Fix script step weight
This commit is contained in:
parent
af1e6b4add
commit
27ca7256d1
3 changed files with 6 additions and 6 deletions
|
@ -23,7 +23,7 @@ ynh_app_setting_set --app="$app" --key="secret_key_base" --value="$secret_key_ba
|
|||
ynh_script_progression --message="Installing NodeJS..." --weight=1
|
||||
ynh_exec_warn_less ynh_install_nodejs --nodejs_version="$nodejs_version"
|
||||
|
||||
ynh_script_progression --message="Installing Ruby..." --weight=1
|
||||
ynh_script_progression --message="Installing Ruby..." --weight=4
|
||||
ynh_exec_warn_less ynh_install_ruby --ruby_version="$ruby_version"
|
||||
|
||||
#=================================================
|
||||
|
@ -67,7 +67,7 @@ chown "$app:$app" "$install_dir/config/database.yml"
|
|||
#=================================================
|
||||
# BUILD APP
|
||||
#=================================================
|
||||
ynh_script_progression --message="Building app..." --weight=1
|
||||
ynh_script_progression --message="Building app..." --weight=7
|
||||
|
||||
fabmanager_build_ruby
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ source /usr/share/yunohost/helpers
|
|||
ynh_script_progression --message="Reinstalling NodeJS..." --weight=1
|
||||
ynh_exec_warn_less ynh_install_nodejs --nodejs_version="$nodejs_version"
|
||||
|
||||
ynh_script_progression --message="Reinstalling Ruby..." --weight=1
|
||||
ynh_script_progression --message="Reinstalling Ruby..." --weight=4
|
||||
ynh_exec_warn_less ynh_install_ruby --ruby_version="$ruby_version"
|
||||
|
||||
#=================================================
|
||||
|
@ -54,7 +54,7 @@ ynh_psql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name"
|
|||
#=================================================
|
||||
# BUILD APP
|
||||
#=================================================
|
||||
ynh_script_progression --message="Building app..." --weight=1
|
||||
ynh_script_progression --message="Building app..." --weight=7
|
||||
|
||||
fabmanager_build_ruby
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ ynh_secure_remove --file="/var/log/supervisor/$app-worker-stdout.log"
|
|||
ynh_script_progression --message="Updating NodeJS..." --weight=1
|
||||
ynh_exec_warn_less ynh_install_nodejs --nodejs_version="$nodejs_version"
|
||||
|
||||
ynh_script_progression --message="Updating Ruby..." --weight=1
|
||||
ynh_script_progression --message="Updating Ruby..." --weight=4
|
||||
ynh_exec_warn_less ynh_install_ruby --ruby_version="$ruby_version"
|
||||
|
||||
#=================================================
|
||||
|
@ -72,7 +72,7 @@ chown "$app:$app" "$install_dir/config/database.yml"
|
|||
#=================================================
|
||||
# BUILD APP
|
||||
#=================================================
|
||||
ynh_script_progression --message="Building app..." --weight=1
|
||||
ynh_script_progression --message="Building app..." --weight=7
|
||||
|
||||
ynh_secure_remove --file="$install_dir/.cache"
|
||||
ynh_secure_remove --file="$install_dir/node_modules"
|
||||
|
|
Loading…
Add table
Reference in a new issue