1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/diaspora_ynh.git synced 2024-09-03 16:26:13 +00:00

Remove duplicate install and move autoremove near first ynh_install_app_dependencies

This commit is contained in:
Augustin Trancart 2023-03-08 15:20:51 +01:00
parent 3dcae230ee
commit 114cd7c6af

View file

@ -63,6 +63,8 @@ ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies $build_pkg_dep
ynh_exec_warn_less ynh_install_ruby --ruby_version=$ruby_version
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
ynh_package_autoremove
#=================================================
# CREATE DEDICATED USER
#=================================================
@ -140,9 +142,6 @@ Role.add_admin user.person
END
popd
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
ynh_package_autoremove
#=================================================
# SETUP SYSTEMD
#=================================================