diff --git a/scripts/install b/scripts/install index bc9b5db..137dbf3 100644 --- a/scripts/install +++ b/scripts/install @@ -48,6 +48,11 @@ sudo wget -q -O /etc/apt/sources.list.d/mopidy.list https://apt.mopidy.com/jessi sudo apt-get update sudo apt-get install -y mopidy +# Delete directory and file +sudo rm -fr /root/.cache/mopidy +sudo rm -fr /root/.config/mopidy +sudo rm -fr /root/.local/share/mopidy + # Copy configuration sudo rm -fr /root/.config/mopidy/ ip_local=$(echo hostname -I | awk '{ print $1 }') diff --git a/scripts/remove b/scripts/remove index bd07b61..61b027a 100644 --- a/scripts/remove +++ b/scripts/remove @@ -29,8 +29,8 @@ sudo rm -fr /root/.local/share/mopidy sudo rm -fr /usr/local/lib/python2.7/dist-packages/Mopidy_MusicBox_Webclient-2.3.0-py2.7.egg # disallow firewall port -sudo yunohost firewall disallow 6600 -sudo yunohost firewall disallow 6680 +sudo yunohost firewall disallow TCP 6600 +sudo yunohost firewall disallow TCP 6680 # Régénère la configuration de SSOwat sudo yunohost app ssowatconf