diff --git a/manifest.json b/manifest.json index 5fcfa42..78f65b9 100644 --- a/manifest.json +++ b/manifest.json @@ -87,7 +87,7 @@ "en": "Do you want to allow access to the library to all Yunohost users?", "fr": "Voulez vous autoriser l'accès à la bibliothèque à tous les utilisateurs Yunohost?" }, - "default": false + "default": true } ] } diff --git a/scripts/install b/scripts/install index b51f806..29d59e4 100755 --- a/scripts/install +++ b/scripts/install @@ -130,7 +130,7 @@ ynh_multimedia_addaccess $app if [ $is_public -eq 1 ]; then #app is public, library is public calibre_dir=$DOSSIER_MEDIA/Share/eBook -elif [$is_public -eq 0 ] && [ $public_library -eq 1 ]; then #app is private, library is public +elif [ $is_public -eq 0 ] && [ $public_library -eq 1 ]; then #app is private, library is public calibre_dir=$DOSSIER_MEDIA/Share/eBook else #app is private, library is private calibre_dir=$DOSSIER_MEDIA/$admin/eBook