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
56b5c0d1b9
commit
43d6e6eb9c
2 changed files with 3 additions and 2 deletions
|
@ -47,7 +47,7 @@
|
||||||
"fr": "Voulez vous utiliser Spotify ?"
|
"fr": "Voulez vous utiliser Spotify ?"
|
||||||
},
|
},
|
||||||
"choices": ["Yes", "No"],
|
"choices": ["Yes", "No"],
|
||||||
"default": "Yes"
|
"default": "No"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "spotify_user",
|
"name": "spotify_user",
|
||||||
|
@ -90,7 +90,7 @@
|
||||||
"fr": "Voulez vous utiliser Soundcloud ?"
|
"fr": "Voulez vous utiliser Soundcloud ?"
|
||||||
},
|
},
|
||||||
"choices": ["Yes", "No"],
|
"choices": ["Yes", "No"],
|
||||||
"default": "Yes"
|
"default": "No"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "soundcloud_id",
|
"name": "soundcloud_id",
|
||||||
|
|
|
@ -9,6 +9,7 @@ TRAP_ON # Active trap pour arrêter le script si une erreur est détectée.
|
||||||
|
|
||||||
domain=$YNH_APP_ARG_DOMAIN
|
domain=$YNH_APP_ARG_DOMAIN
|
||||||
admin_mopidy=$YNH_APP_ARG_ADMIN_MOPIDY
|
admin_mopidy=$YNH_APP_ARG_ADMIN_MOPIDY
|
||||||
|
|
||||||
if [ "$is_spotify" = "Yes" ];
|
if [ "$is_spotify" = "Yes" ];
|
||||||
then
|
then
|
||||||
spotify_user=$YNH_APP_ARG_SPOTIFY_USER
|
spotify_user=$YNH_APP_ARG_SPOTIFY_USER
|
||||||
|
|
Loading…
Add table
Reference in a new issue