1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mopidy_ynh.git synced 2024-09-03 19:46:21 +02:00

MPD extension

This commit is contained in:
siwinter 2021-08-26 00:22:11 +02:00 committed by GitHub
parent e6b84c2a86
commit ffcc6dd686
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,13 +65,14 @@ ynh_app_setting_set --app=$app --key=port --value=$port
if [ $mpd_port -eq 1 ]; then 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_exec_warn_less yunohost firewall allow --no-upnp TCP $mpd_port ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $mpd_port
mpd_state="true" mpd_state="true"
else else
mpd_state="false" mpd_state="false"
fi fi
ynh_app_setting_set --app=$app --key=mpd_port --value=$mpd_port
#================================================= #=================================================
# INSTALL DEPENDENCIES # INSTALL DEPENDENCIES
#================================================= #=================================================