From 43d6e6eb9cf64fe1dceefabd1bbbfe7c34c9a3ff Mon Sep 17 00:00:00 2001 From: magikcypress Date: Tue, 7 Mar 2017 00:09:35 +0100 Subject: [PATCH] =?UTF-8?q?Faire=20du=20m=C3=A9nage=20a=20la=20desinstalla?= =?UTF-8?q?tion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 4 ++-- scripts/install | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 59286ba..6084bde 100644 --- a/manifest.json +++ b/manifest.json @@ -47,7 +47,7 @@ "fr": "Voulez vous utiliser Spotify ?" }, "choices": ["Yes", "No"], - "default": "Yes" + "default": "No" }, { "name": "spotify_user", @@ -90,7 +90,7 @@ "fr": "Voulez vous utiliser Soundcloud ?" }, "choices": ["Yes", "No"], - "default": "Yes" + "default": "No" }, { "name": "soundcloud_id", diff --git a/scripts/install b/scripts/install index 2f92c25..cc0fd2a 100644 --- a/scripts/install +++ b/scripts/install @@ -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 admin_mopidy=$YNH_APP_ARG_ADMIN_MOPIDY + if [ "$is_spotify" = "Yes" ]; then spotify_user=$YNH_APP_ARG_SPOTIFY_USER