diff --git a/manifest.json b/manifest.json index 0342ed1..00bd31f 100644 --- a/manifest.json +++ b/manifest.json @@ -32,12 +32,12 @@ }, { "name": "is_public", + "type": "boolean", "ask": { "en": "Is it a public application?", "fr": "Est-ce une application publique ?" }, - "choices": ["Yes", "No"], - "default": "Yes" + "default": true } ] diff --git a/scripts/install b/scripts/install index 1462301..3b27ed6 100755 --- a/scripts/install +++ b/scripts/install @@ -12,6 +12,12 @@ is_public=$3 path="/SOGo" codename=$(lsb_release -c -s) +if [[ $is_public == 0 ]] +then + is_public="No" +else + is_public="Yes" +fi # Save app settings sudo yunohost app setting $app admin -v "$admin"