diff --git a/scripts/_common.sh b/scripts/_common.sh index cead182..ca02bcb 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -41,7 +41,7 @@ myynh_install() { ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-Podcast==3.0.0 ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-Podcast-iTunes==3.0.0 ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-SoundCloud==3.0.1 - if [ $mpd_ext -eq 1 ]; then + if [ $mpd_port -ne 0 ]; then ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-MPD==3.1.0 fi )