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 {