1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/calibreweb_ynh.git synced 2024-09-03 18:16:20 +02:00
This commit is contained in:
Krakinou 2018-12-15 14:03:01 +01:00
parent 2daaf4557d
commit 9e26da0435

View file

@ -144,9 +144,7 @@ systemctl stop $app
#set database settings as per conf file
conf=$(. <(echo -E echo $(<../conf/init_calibre_db_settings)))
echo $conf
#sqlite3 ./app.db "UPDATE settings SET $conf WHERE ID=1"
sqlite3 ./app.db "UPDATE settings SET calibre_dir=\"$calibre_dir\", calibre_port=$port WHERE ID=1"
sqlite3 ./app.db "UPDATE settings SET $conf WHERE ID=1"
conf=$(. <(echo -E echo $(<../conf/init_calibre_db_user)))
sqlite3 $final_path/app.db "UPDATE user SET $conf WHERE ID=1"