diff --git a/manifest.json b/manifest.json index 7a265bb..d3d21ff 100644 --- a/manifest.json +++ b/manifest.json @@ -70,7 +70,7 @@ "en": "Is it a public application?", "fr": "Est-ce une application publique ?" }, - "default": true + "default": false }, { "name": "language", @@ -78,7 +78,7 @@ "en": "Select a default language (you may change it later in the app)", "fr": "Choisissez une langue par défaut (vous pourrez la changer ultérieurement dans l'application)" }, - "choices": ["fr", "en"], + "choices": [ "fr", "en", "es", "de"], "default": "fr" }, { @@ -86,7 +86,7 @@ "type":"boolean", "ask": { "en": "Do you want to allow uploading of books (you may change it later in the app)?", - "fr": "Voulez vous autoriser l'upload de livres (vous pourrez la changer ultérieurement dans l'application)?" + "fr": "Voulez vous autoriser l'upload de livres (vous pourrez le changer ultérieurement dans l'application)?" }, "default": false }, diff --git a/scripts/install b/scripts/install index 805e06a..df68f15 100755 --- a/scripts/install +++ b/scripts/install @@ -119,8 +119,7 @@ ynh_add_systemd_config #================================================= #Check if library folder exists. If not create it -test ! -e "$calibre_dir" -if [[ $? = 0 ]] ; then +if [ ! -e "$calibre_dir" ]; then ynh_print_info "Create calibre library folder $calibre_dir" mkdir -p $calibre_dir chown -R $app:$app $calibre_dir