Skip to content

Commit 8879439

Browse files
committed
fix: containers-backup - overwrite paths file on each run
Signed-off-by: Reputable2722 <153411261+Reputable2772@users.noreply.github.com>
1 parent 982f38a commit 8879439

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Users/WickedWizard/Programs/Selfhosted/backup.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ in
6767
Type = "oneshot";
6868
ExecStartPre = pkgs.writeShellScript "pre-containers-backup" ''
6969
mkdir -p ${tmpLocation}
70-
cat ${pkgs.writeText "staticPaths" (lib.concatLines (lib.flatten paths))} >> ${tmpLocation}/paths.txt
70+
cat ${pkgs.writeText "staticPaths" (lib.concatLines (lib.flatten paths))} > ${tmpLocation}/paths.txt
7171
'';
7272
ExecStart = pkgs.writeShellScript "containers-backup" (
7373
concatStringsSep "\n" [

0 commit comments

Comments
 (0)