nixos/calibre-web: Add quotes to test for calibre library
This commit is contained in:
parent
e3c9246d8f
commit
81ed7d8861
@ -136,7 +136,7 @@ in
|
||||
|
||||
${pkgs.sqlite}/bin/sqlite3 ${appDb} "update settings set ${settings}"
|
||||
'' + optionalString (cfg.options.calibreLibrary != null) ''
|
||||
test -f ${cfg.options.calibreLibrary}/metadata.db || { echo "Invalid Calibre library"; exit 1; }
|
||||
test -f "${cfg.options.calibreLibrary}/metadata.db" || { echo "Invalid Calibre library"; exit 1; }
|
||||
''
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user