mirror of
https://github.com/YunoHost-Apps/mopidy_ynh.git
synced 2024-09-03 19:46:21 +02:00
avoid linter warning
This commit is contained in:
parent
6678ca9a56
commit
0beccfda1f
1 changed files with 5 additions and 1 deletions
|
@ -116,7 +116,11 @@ systemctl enable $app.service --quiet
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
|
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
|
||||||
|
|
||||||
|
if [ $mpd_port -ne 0 ]; then
|
||||||
|
yunohost service add $app --description="Mopidy music server" --log="/var/log/$app/$app.log" --needs_exposed_ports=$mpd_port
|
||||||
|
else
|
||||||
yunohost service add $app --description="Mopidy music server" --log="/var/log/$app/$app.log"
|
yunohost service add $app --description="Mopidy music server" --log="/var/log/$app/$app.log"
|
||||||
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RESTORE VARIOUS FILES
|
# RESTORE VARIOUS FILES
|
||||||
|
|
Loading…
Add table
Reference in a new issue