* Remove temporary release directories.
svn path=/configurations/trunk/tud/; revision=33821
Eelco Dolstra committed
Apr 18, 2012 at 07:30 UTC
62b0ac8fc3fd1129989a330b3a4106505a86218a
1 file changed
+2
-2
lucifer.nix
+2
-2
@@ -123,7 +123,7 @@
123
path = [ pkgs.su ];
124
script =
125
''
126
- su - hydra-mirror -c 'exec >> nixpkgs-mirror.log 2>&1; cd release/channels; while true; do date; ./mirror-nixpkgs.sh; sleep 300; done'
126
+ su - hydra-mirror -c 'exec >> nixpkgs-mirror.log 2>&1; rm -rf /data/releases/nixpkgs/.tmp-*; cd release/channels; while true; do date; ./mirror-nixpkgs.sh; sleep 300; done'
127
'';
128
};
129
@@ -141,7 +141,7 @@
141
path = [ pkgs.su ];
142
script =
143
''
144
- su - hydra-mirror -c 'exec >> nixos-mirror.log 2>&1; cd release/channels; while true; do date; ./mirror-nixos.sh; sleep 300; done'
144
+ su - hydra-mirror -c 'exec >> nixos-mirror.log 2>&1; rm -rf /data/releases/nixos/.tmp-*; cd release/channels; while true; do date; ./mirror-nixos.sh; sleep 300; done'
145
'';
146
};
147