Add DB initialisation
This commit is contained in:
parent
86a4ed7ea3
commit
d560e52143
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user