From 5509775755c77b13eb61b3957d125976de4146af Mon Sep 17 00:00:00 2001 From: magikcypress Date: Tue, 7 Mar 2017 17:48:07 +0100 Subject: [PATCH] =?UTF-8?q?On=20supprime=20les=20fichiers=20et=20r=C3=A9pe?= =?UTF-8?q?rtoires=20cr=C3=A9er=20par=20mopidy=20car=20pas=20besoin=20+=20?= =?UTF-8?q?modifications=20des=20r=C3=A9gles=20du=20FW=20incorrectes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/install | 5 +++++ scripts/remove | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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