mirror of
https://github.com/YunoHost-Apps/mumbleserver_ynh.git
synced 2024-09-03 19:46:03 +02:00
Fix
This commit is contained in:
parent
d69f4453c1
commit
6a9348b7a6
3 changed files with 5 additions and 11 deletions
|
@ -73,7 +73,7 @@ yunohost firewall allow Both "$port"
|
||||||
ynh_script_progression --message="Installing dependencies..." --weight=4
|
ynh_script_progression --message="Installing dependencies..." --weight=4
|
||||||
|
|
||||||
# Install Mumble Debian package via apt
|
# Install Mumble Debian package via apt
|
||||||
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
|
ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC SETUP
|
# SPECIFIC SETUP
|
||||||
|
@ -119,7 +119,7 @@ chown -R :mumble-server "$final_path"
|
||||||
# Add user to ssl-cert so it can read certificates
|
# 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
|
# Set SuperUser password
|
||||||
|
|
|
@ -64,7 +64,7 @@ chown -R :mumble-server "$final_path"
|
||||||
# Add user to ssl-cert so it can read certificates
|
# 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
|
# Disable default server installed by Debian's package
|
||||||
|
|
|
@ -114,19 +114,13 @@ ynh_clean_setup () {
|
||||||
# Exit if an error occurs during the execution of the script
|
# Exit if an error occurs during the execution of the script
|
||||||
ynh_abort_if_errors
|
ynh_abort_if_errors
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# STANDARD UPGRADE STEPS
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
# source and user are provided by debian's package, no web interface
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL DEPENDENCIES
|
# INSTALL DEPENDENCIES
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Upgrading dependencies..." --weight=6
|
ynh_script_progression --message="Upgrading dependencies..." --weight=6
|
||||||
|
|
||||||
# Install Mumble Debian package via apt
|
# Install Mumble Debian package via apt
|
||||||
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
|
ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC UPGRADE
|
# SPECIFIC UPGRADE
|
||||||
|
@ -174,7 +168,7 @@ chown -R :mumble-server "$final_path"
|
||||||
# Add user to ssl-cert so it can read certificates
|
# 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
|
# Set SuperUser password
|
||||||
|
|
Loading…
Add table
Reference in a new issue