diff --git a/scripts/install b/scripts/install index fda7daf..0efddef 100644 --- a/scripts/install +++ b/scripts/install @@ -131,7 +131,7 @@ ynh_replace_string --match_string="defined('YII_ENV') or define('YII_ENV', 'dev' chown -R $app: $final_path # Set the app as temporarily public for curl call -ynh_script_progression --message="Configuring SSOwat..." --weight=30 +ynh_script_progression --message="Configuring SSOwat..." --weight=1 # Making the app public for curl ynh_permission_update --permission="main" --add="visitors" # Reload SSOwat config @@ -141,7 +141,7 @@ yunohost app ssowatconf ynh_systemd_action --service_name=nginx --action=reload # Installation with curl -ynh_script_progression --message="Finalizing installation..." --weight=2 +ynh_script_progression --message="Finalizing installation..." --weight=10 pushd $final_path/protected php${YNH_PHP_VERSION} yii migrate/up --includeModuleMigrations=1 --interactive=0 @@ -227,7 +227,7 @@ chmod 644 "/etc/cron.d/$app" #================================================= # SETUP SSOWAT #================================================= -ynh_script_progression --message="Configuring permissions..." --weight=35 +ynh_script_progression --message="Configuring permissions..." --weight=1 # Make app public if necessary if [ $is_public -eq 1 ]