1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jitsi_ynh.git synced 2024-09-03 19:35:57 +02:00

fix uuidgen error

This commit is contained in:
yalh76 2020-05-01 09:56:02 +02:00
parent e74c523af7
commit 02b5750388

View file

@ -41,8 +41,6 @@ focus_user="focus"
videobridge_user="jvb"
muc_nickname=$(uuidgen)
#=================================================
# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS
#=================================================
@ -66,7 +64,6 @@ ynh_app_setting_set --app=$app --key=videobridge_secret --value=$videobridge_sec
ynh_app_setting_set --app=$app --key=focus_secret --value=$focus_secret
ynh_app_setting_set --app=$app --key=focus_user --value=$focus_user
ynh_app_setting_set --app=$app --key=videobridge_user --value=$videobridge_user
ynh_app_setting_set --app=$app --key=muc_nickname --value=$muc_nickname
#=================================================
# STANDARD MODIFICATIONS
@ -201,6 +198,9 @@ ynh_print_info --message="Configuring Jitsi-Videobridge..."
public_ipv4="$(curl ip.yunohost.org)" || true
private_ipv4="$(ip route get 1 | sed -n 's/^.*src \([0-9.]*\) .*$/\1/p')" || true
muc_nickname=$(uuidgen)
ynh_app_setting_set --app=$app --key=muc_nickname --value=$muc_nickname
mkdir -p "/etc/$app/videobridge"
jitsi_videobridge_sip_communicator_conf="/etc/$app/videobridge/sip-communicator.properties"