mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 09:17:07 +03:00
Merge pull request #174219 from PhilippWoelfel/fix/nixos/calibre-web
nixos/calibre-web: Add quotes to test for calibre library
This commit is contained in:
commit
9082cc6ba0
@ -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