Skip to content

Commit

Permalink
chore(paperless): only create export repo on backups if it does not e…
Browse files Browse the repository at this point in the history
…xist
  • Loading branch information
rubenhoenle committed Nov 9, 2024
1 parent 5a275e3 commit 4d7afa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/paperless.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ in
};
backupPrepareCommandExport = lib.mkOption {
type = lib.types.str;
default = "${pkgs.coreutils}/bin/mkdir ${cfg.backup-path}/export && ${cfg.path}/data/paperless-manage document_exporter ${cfg.backup-path}/export --compare-checksums --delete";
default = "${pkgs.coreutils}/bin/mkdir -p ${cfg.backup-path}/export && ${cfg.path}/data/paperless-manage document_exporter ${cfg.backup-path}/export --compare-checksums --delete";
};
};

Expand Down

0 comments on commit 4d7afa3

Please sign in to comment.