mirror of
https://github.com/YunoHost-Apps/mopidy_ynh.git
synced 2024-09-03 19:46:21 +02:00
Faire du ménage a la desinstallation
This commit is contained in:
parent
7226f7637b
commit
56b5c0d1b9
1 changed files with 12 additions and 0 deletions
|
@ -14,7 +14,19 @@ domain=$(ynh_app_setting_get $app domain)
|
||||||
|
|
||||||
# Remove application
|
# Remove application
|
||||||
sudo apt-get remove --purge -y mopidy
|
sudo apt-get remove --purge -y mopidy
|
||||||
|
sleep 4
|
||||||
sudo pip uninstall mopidy_musicbox_webclient
|
sudo pip uninstall mopidy_musicbox_webclient
|
||||||
|
sleep 4
|
||||||
|
|
||||||
|
# Delete stupid file
|
||||||
|
sudo rm -fr /usr/local/bin/mopidy
|
||||||
|
sudo rm -fr /usr/share/mopidy
|
||||||
|
sudo rm -fr /root/.config/mopidy
|
||||||
|
sudo rm -fr /var/lib/mopidy
|
||||||
|
sudo rm -fr /etc/apt/sources.list.d/mopidy.list
|
||||||
|
sudo rm -fr /root/.cache/mopidy
|
||||||
|
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
|
# disallow firewall port
|
||||||
sudo yunohost firewall disallow 6600
|
sudo yunohost firewall disallow 6600
|
||||||
|
|
Loading…
Add table
Reference in a new issue