mirror of
https://github.com/YunoHost-Apps/mopidy_ynh.git
synced 2024-09-03 19:46:21 +02:00
Modification du script de desinstallation
This commit is contained in:
parent
aa9ee3da4f
commit
7294c06fd2
1 changed files with 16 additions and 9 deletions
|
@ -19,16 +19,23 @@ sudo pip uninstall -y mopidy_musicbox_webclient
|
|||
sleep 4
|
||||
|
||||
# Delete stupid file
|
||||
# SECURE_REMOVE '/root/.config/mopidy'
|
||||
# SECURE_REMOVE '/root/.cache/mopidy'
|
||||
# SECURE_REMOVE '/root/.local/share/mopidy'
|
||||
SECURE_REMOVE '/usr/local/bin/mopidy'
|
||||
SECURE_REMOVE '/usr/share/mopidy'
|
||||
SECURE_REMOVE '/var/lib/mopidy'
|
||||
SECURE_REMOVE '/etc/apt/sources.list.d/mopidy.list'
|
||||
SECURE_REMOVE '/usr/local/lib/python2.7/dist-packages/Mopidy_MusicBox_Webclient-2.3.0-py2.7.egg'
|
||||
SECURE_REMOVE '/tmp/mopidy-musicbox-webclient'
|
||||
# Normally a root directory is delete with install app
|
||||
if [ -d "/root/.config/$app" ]; then
|
||||
SECURE_REMOVE '/root/.config/$app'
|
||||
fi
|
||||
if [ -d "/root/.cache/$app" ]; then
|
||||
SECURE_REMOVE '/root/.cache/$app'
|
||||
fi
|
||||
if [ -d "/root/.local/share/$app" ]; then
|
||||
SECURE_REMOVE '/root/.local/share/$app'
|
||||
fi
|
||||
SECURE_REMOVE '/usr/local/bin/$app'
|
||||
SECURE_REMOVE '/usr/share/$app'
|
||||
SECURE_REMOVE '/var/lib/$app'
|
||||
SECURE_REMOVE '/etc/apt/sources.list.d/$app.list'
|
||||
SECURE_REMOVE '/tmp/$app-musicbox-webclient'
|
||||
SECURE_REMOVE '/var/www/$app'
|
||||
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 TCP 6600
|
||||
|
|
Loading…
Add table
Reference in a new issue