1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/calibreweb_ynh.git synced 2024-09-03 18:16:20 +02:00
This commit is contained in:
Krakinou 2019-01-22 00:02:38 +01:00
parent 9978725fc0
commit d75010c89b
2 changed files with 2 additions and 2 deletions

View file

@ -87,7 +87,7 @@
"en": "Do you want to allow access to the library to all Yunohost users?", "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?" "fr": "Voulez vous autoriser l'accès à la bibliothèque à tous les utilisateurs Yunohost?"
}, },
"default": false "default": true
} }
] ]
} }

View file

@ -130,7 +130,7 @@ ynh_multimedia_addaccess $app
if [ $is_public -eq 1 ]; then #app is public, library is public if [ $is_public -eq 1 ]; then #app is public, library is public
calibre_dir=$DOSSIER_MEDIA/Share/eBook 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 calibre_dir=$DOSSIER_MEDIA/Share/eBook
else #app is private, library is private else #app is private, library is private
calibre_dir=$DOSSIER_MEDIA/$admin/eBook calibre_dir=$DOSSIER_MEDIA/$admin/eBook