1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/calibreweb_ynh.git synced 2024-09-03 18:16:20 +02:00

Merge pull request #8 from YunoHost-Apps/Testing

Correct space in password
This commit is contained in:
Krakinou 2018-12-18 22:36:58 +01:00 committed by GitHub
commit 01e07ce266
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -40,7 +40,7 @@ chown -R calibreweb: path/to/library
or or
chmod o+rw path/to/library 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 ## Links
* Report a bug: https://github.com/YunoHost-Apps/calibre_ynh/issues * Report a bug: https://github.com/YunoHost-Apps/calibre_ynh/issues
@ -64,7 +64,9 @@ sudo yunohost app upgrade calibreweb -u https://github.com/Yunohost-Apps/calibre
## Todo ## Todo
- [ ] Multiinstance - [ ] Multiinstance
- [ ] Better Multimedia integration - [ ] Better Multimedia integration
- [ ] Package_check integrtion
- [ ] On backup/remove/upgrade : check for database location to update settings
## License ## License
Package and software are GPL 3.0 Package and software are GPL 3.0

View file

@ -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 ') #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 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 ynh_print_ON
#================================================= #=================================================