From d560e521432f6564fcdb2b9969184056d75b6b4c Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Tue, 9 Jul 2019 11:02:02 +0200 Subject: [PATCH] Add DB initialisation --- bibliotecha.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bibliotecha.sh b/bibliotecha.sh index 40e2e60..d1e0752 100755 --- a/bibliotecha.sh +++ b/bibliotecha.sh @@ -304,6 +304,9 @@ function configure_calibre_database { echo "Configuring the Calibre database ..." mkdir -p "$CALIBRE_DATABASE_PATH" + + # A dirty hack to initialise a new calibre database + /usr/bin/calibredb restore_database --really-do-it "$CALIBRE_DATABASE_PATH" } function install_calibreweb {