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:
commit
01e07ce266
2 changed files with 5 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue