diff --git a/README.md b/README.md index 03e2a1f..818c37a 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ chown -R calibreweb: path/to/library or chmod o+rw path/to/library ``` - +* Do not use a Nextcloud folder. It's all right if the folder is an external storage in Nextcloud but not if it's an internal one : Changing the data in the library will cause trouble with the sync ## Links * Report a bug: https://github.com/YunoHost-Apps/calibre_ynh/issues diff --git a/scripts/install b/scripts/install index 96c648d..588ade6 100755 --- a/scripts/install +++ b/scripts/install @@ -170,7 +170,7 @@ eval sqlite3 $final_path/app.db "$conf" #mise à jour du mot de passe (je ne sais pas pourquoi, je n'arrive pas à l'intégrer dans le fichier de conf, pb de " et ') ynh_print_OFF -sqlite3 $final_path/app.db "UPDATE user SET password='$(python ../conf/generate_password_hash.py $pass $final_path/vendor)' WHERE ID=1" +sqlite3 $final_path/app.db "UPDATE user SET password='$(python ../conf/generate_password_hash.py "$pass" $final_path/vendor)' WHERE ID=1" ynh_print_ON #=================================================