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
004a4bd250
commit
a00c9e0dfa
3 changed files with 11 additions and 2 deletions
|
@ -13,7 +13,7 @@
|
|||
setup_private=1
|
||||
setup_public=1
|
||||
upgrade=1
|
||||
upgrade=1 from_commit=d9ece341d532bd5eac9af9ce191da7b62d1e8bb1
|
||||
#upgrade=1 from_commit=d9ece341d532bd5eac9af9ce191da7b62d1e8bb1
|
||||
backup_restore=1
|
||||
multi_instance=1
|
||||
;;; Options
|
||||
|
|
|
@ -74,7 +74,8 @@
|
|||
"name": "mumbleweb",
|
||||
"type": "boolean",
|
||||
"ask": {
|
||||
"en": "Install the web application? (mumble-web)"
|
||||
"en": "Do you want to install Mumble web?",
|
||||
"fr": "Voulez-vous installer Mumble Web? "
|
||||
},
|
||||
"default": false
|
||||
}
|
||||
|
|
|
@ -92,6 +92,14 @@ if [ "$mumbleweb" -eq 1 ] ; then
|
|||
ynh_install_nodejs --nodejs_version=$nodejs_version
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# CREATE DEDICATED USER
|
||||
#=================================================
|
||||
ynh_script_progression --message="Configuring system user..." --weight=1
|
||||
|
||||
# Create a system user
|
||||
ynh_system_user_create --username=$app --home_dir="$final_path"
|
||||
|
||||
#=================================================
|
||||
# INSTALL Mumble-web
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue