diff --git a/scripts/upgrade b/scripts/upgrade index 97aadcc..7cd33f4 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -158,15 +158,6 @@ ynh_script_progression --message="Upgrading dependencies..." ynh_install_app_dependencies $pkg_dependencies -#================================================= -# BUILD LSU -#================================================= -ynh_script_progression --message="Building lstu..." - -pushd $final_path - carton install --deployment --without=sqlite --without=mysql -popd - #================================================= # CONFIGURE LSTU #================================================= @@ -179,6 +170,15 @@ else ynh_add_config --template="../conf/lstu.conf.template" --destination="$final_path/lstu.conf" fi +#================================================= +# BUILD LSU +#================================================= +ynh_script_progression --message="Building lstu..." + +pushd $final_path + carton install --deployment --without=sqlite --without=mysql +popd + #================================================= # SETUP LOGROTATE #=================================================