Add DB initialisation

This commit is contained in:
Luke Murphy 2019-07-09 11:02:02 +02:00
parent 86a4ed7ea3
commit d560e52143
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -304,6 +304,9 @@ function configure_calibre_database {
echo "Configuring the Calibre database ..." echo "Configuring the Calibre database ..."
mkdir -p "$CALIBRE_DATABASE_PATH" 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 { function install_calibreweb {