mirror of
https://github.com/YunoHost-Apps/cops_ynh.git
synced 2024-09-03 18:25:57 +02:00
Update install
This commit is contained in:
parent
87a73c4a9d
commit
b24803e498
1 changed files with 4 additions and 4 deletions
|
@ -105,10 +105,10 @@ ynh_multimedia_addaccess $app
|
||||||
calibre_dir=/home/yunohost.multimedia/share/eBook
|
calibre_dir=/home/yunohost.multimedia/share/eBook
|
||||||
ynh_app_setting_set --app=$app --key=calibre_dir --value=$calibre_dir
|
ynh_app_setting_set --app=$app --key=calibre_dir --value=$calibre_dir
|
||||||
|
|
||||||
#Check if metadata.db file exists. If not create it (empty library)
|
# #Check if metadata.db file exists. If not create it (empty library)
|
||||||
if [ ! -e "$calibre_dir"/metadata.db ]; then
|
# if [ ! -e "$calibre_dir"/metadata.db ]; then
|
||||||
cp -a ../conf/metadata.db.empty $calibre_dir/metadata.db
|
# cp -a ../conf/metadata.db.empty $calibre_dir/metadata.db
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
chmod 750 "$calibre_dir"
|
chmod 750 "$calibre_dir"
|
||||||
chmod -R o-rwx "$calibre_dir"
|
chmod -R o-rwx "$calibre_dir"
|
||||||
|
|
Loading…
Reference in a new issue