From 6a0c980ce40bb78cc56efde9f2f2960a51c01860 Mon Sep 17 00:00:00 2001 From: magikcypress Date: Tue, 7 Mar 2017 18:43:33 +0100 Subject: [PATCH] Supprimer /tmp/mopidy-musicbox-webclient --- scripts/install | 1 + scripts/remove | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index 4ec5c3d..6949c03 100644 --- a/scripts/install +++ b/scripts/install @@ -40,6 +40,7 @@ ynh_app_setting_set $app soundcloud_id $soundcloud_id # Create final_path and check sudo mkdir "$final_path" +sudo chown -R www-data: $final_path ynh_app_setting_set $app final_path $final_path # Add the archive’s GPG key: diff --git a/scripts/remove b/scripts/remove index d16e64c..017bdff 100644 --- a/scripts/remove +++ b/scripts/remove @@ -27,6 +27,7 @@ sudo rm -fr /usr/share/mopidy sudo rm -fr /var/lib/mopidy sudo rm -fr /etc/apt/sources.list.d/mopidy.list sudo rm -fr /usr/local/lib/python2.7/dist-packages/Mopidy_MusicBox_Webclient-2.3.0-py2.7.egg +sudo rm -fr /tmp/mopidy-musicbox-webclient # disallow firewall port sudo yunohost firewall disallow TCP 6600