From b24803e49812abf61d04a312401059a8d9d8820c Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 9 Dec 2021 16:22:38 +0100 Subject: [PATCH] Update install --- scripts/install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 7b148d4..ab2b9ca 100755 --- a/scripts/install +++ b/scripts/install @@ -105,10 +105,10 @@ ynh_multimedia_addaccess $app calibre_dir=/home/yunohost.multimedia/share/eBook ynh_app_setting_set --app=$app --key=calibre_dir --value=$calibre_dir -#Check if metadata.db file exists. If not create it (empty library) -if [ ! -e "$calibre_dir"/metadata.db ]; then - cp -a ../conf/metadata.db.empty $calibre_dir/metadata.db -fi +# #Check if metadata.db file exists. If not create it (empty library) +# if [ ! -e "$calibre_dir"/metadata.db ]; then +# cp -a ../conf/metadata.db.empty $calibre_dir/metadata.db +# fi chmod 750 "$calibre_dir" chmod -R o-rwx "$calibre_dir"