1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mumbleserver_ynh.git synced 2024-09-03 19:46:03 +02:00
This commit is contained in:
ericgaspar 2021-01-04 14:01:09 +01:00
parent d69f4453c1
commit 6a9348b7a6
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 5 additions and 11 deletions

View file

@ -73,7 +73,7 @@ yunohost firewall allow Both "$port"
ynh_script_progression --message="Installing dependencies..." --weight=4
# Install Mumble Debian package via apt
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
ynh_install_app_dependencies $pkg_dependencies
#=================================================
# SPECIFIC SETUP
@ -119,7 +119,7 @@ chown -R :mumble-server "$final_path"
# Add user to ssl-cert so it can read certificates
#=================================================
usermod --append --groups ssl-cert mumble-server
ynh_exec_warn_less usermod --append --groups ssl-cert mumble-server
#=================================================
# Set SuperUser password

View file

@ -64,7 +64,7 @@ chown -R :mumble-server "$final_path"
# Add user to ssl-cert so it can read certificates
#=================================================
usermod --append --groups ssl-cert mumble-server
ynh_exec_warn_less usermod --append --groups ssl-cert mumble-server
#=================================================
# Disable default server installed by Debian's package

View file

@ -114,19 +114,13 @@ ynh_clean_setup () {
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors
#=================================================
# STANDARD UPGRADE STEPS
#=================================================
# source and user are provided by debian's package, no web interface
#=================================================
# INSTALL DEPENDENCIES
#=================================================
ynh_script_progression --message="Upgrading dependencies..." --weight=6
# Install Mumble Debian package via apt
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
ynh_install_app_dependencies $pkg_dependencies
#=================================================
# SPECIFIC UPGRADE
@ -174,7 +168,7 @@ chown -R :mumble-server "$final_path"
# Add user to ssl-cert so it can read certificates
#=================================================
usermod --append --groups ssl-cert mumble-server
ynh_exec_warn_less usermod --append --groups ssl-cert mumble-server
#=================================================
# Set SuperUser password