mirror of
https://github.com/YunoHost-Apps/mopidy_ynh.git
synced 2024-09-03 19:46:21 +02:00
Update install
This commit is contained in:
parent
c252ea0efa
commit
1c24a83f5e
1 changed files with 3 additions and 0 deletions
|
@ -67,6 +67,9 @@ if [ $mpd_port -eq 1 ]; then
|
||||||
mpd_port=$(ynh_find_port --port=6600)
|
mpd_port=$(ynh_find_port --port=6600)
|
||||||
ynh_app_setting_set --app=$app --key=mpd_port --value=$mpd_port
|
ynh_app_setting_set --app=$app --key=mpd_port --value=$mpd_port
|
||||||
ynh_exec_warn_less yunohost firewall allow --no-upnp Both $mpd_port
|
ynh_exec_warn_less yunohost firewall allow --no-upnp Both $mpd_port
|
||||||
|
mpd_state="true"
|
||||||
|
else
|
||||||
|
mpd_state="false"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue