mirror of
https://github.com/YunoHost-Apps/calibreweb_ynh.git
synced 2024-09-03 18:16:20 +02:00
Correct warning message if existing
This commit is contained in:
parent
76969711f6
commit
11f751096c
1 changed files with 2 additions and 1 deletions
|
@ -131,6 +131,7 @@ fi
|
|||
#Check if metadata.db file exists. If not create it (empty library)
|
||||
if [ ! -e "$calibre_dir"/metadata.db ]; then
|
||||
cp -a ../src/calibre/. $calibre_dir
|
||||
chown $app:$app $calibre_dir/*
|
||||
fi
|
||||
|
||||
|
||||
|
@ -200,6 +201,6 @@ systemctl start $app
|
|||
# WARNING FOR READ ACCESS
|
||||
#=================================================
|
||||
|
||||
if [[ ! $create_dir = 0 ]] ; then
|
||||
if [[ $create_dir = 0 ]] ; then
|
||||
ynh_print_warn "Please, give required access to $app user to the $calibre_dir folder."
|
||||
fi
|
Loading…
Add table
Reference in a new issue