mirror of
https://github.com/YunoHost-Apps/mumbleserver_ynh.git
synced 2024-09-03 19:46:03 +02:00
[fix] install: sed do not needs to be done globally on conf file.
This commit is contained in:
parent
fd570fa59f
commit
a11ed07e28
1 changed files with 4 additions and 4 deletions
|
@ -37,10 +37,10 @@ sudo apt install -y mumble-server > /dev/null 2>&1
|
||||||
|
|
||||||
# Configuring with given settings
|
# Configuring with given settings
|
||||||
mumble_conf="../conf/mumble-server.ini"
|
mumble_conf="../conf/mumble-server.ini"
|
||||||
sudo sed -i "s/welcometext=.*/welcometext=$welcometext/g" $mumble_conf
|
sudo sed -i "s/welcometext=.*/welcometext=$welcometext/" $mumble_conf
|
||||||
sudo sed -i "s/port=.*/port=$port/g" $mumble_conf
|
sudo sed -i "s/port=.*/port=$port/" $mumble_conf
|
||||||
sudo sed -i "s/serverpassword=.*/serverpassword=$server_password/g" $mumble_conf
|
sudo sed -i "s/serverpassword=.*/serverpassword=$server_password/" $mumble_conf
|
||||||
sudo sed -i "s/#registerName=.*/registerName=$registerName/g" $mumble_conf
|
sudo sed -i "s/#registerName=.*/registerName=$registerName/" $mumble_conf
|
||||||
|
|
||||||
# Copying conf file
|
# Copying conf file
|
||||||
mumble_conf="/etc/mumble-server.ini"
|
mumble_conf="/etc/mumble-server.ini"
|
||||||
|
|
Loading…
Add table
Reference in a new issue