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-06-05 12:41:34 +02:00
parent 7213f9cc95
commit 3653943735
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 8 additions and 4 deletions

View file

@ -101,8 +101,10 @@ fi
#=================================================
ynh_script_progression --message="Configuring system user..." --weight=1
# Create a system user
ynh_system_user_create --username=$app --home_dir="$final_path"
if [ "$mumbleweb" -eq 1 ] ; then
# Create a system user
ynh_system_user_create --username=$app --home_dir="$final_path"
fi
#=================================================
# INSTALL Mumble-web

View file

@ -134,8 +134,10 @@ fi
#=================================================
ynh_script_progression --message="Making sure dedicated system user exists..." --weight=1
# Create a dedicated user (if not existing)
ynh_system_user_create --username="$app" --home_dir="$final_path"
if [ "$mumbleweb" -eq 1 ] ; then
# Create a dedicated user (if not existing)
ynh_system_user_create --username="$app" --home_dir="$final_path"
fi
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE