Author: eelco
Date: Wed Apr 18 07:30:23 2012
New Revision: 33821
URL: https://nixos.org/websvn/nix/?rev=33821&sc=1

Log:
* Remove temporary release directories.

Modified:
   configurations/trunk/tud/lucifer.nix

Modified: configurations/trunk/tud/lucifer.nix
==============================================================================
--- configurations/trunk/tud/lucifer.nix        Tue Apr 17 20:39:09 2012        
(r33820)
+++ configurations/trunk/tud/lucifer.nix        Wed Apr 18 07:30:23 2012        
(r33821)
@@ -123,7 +123,7 @@
       path = [ pkgs.su ];
       script =
         ''
-          su - hydra-mirror -c 'exec >> nixpkgs-mirror.log 2>&1; cd 
release/channels; while true; do date; ./mirror-nixpkgs.sh; sleep 300; done'
+          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'
         '';
     };
 
@@ -141,7 +141,7 @@
       path = [ pkgs.su ];
       script =
         ''
-          su - hydra-mirror -c 'exec >> nixos-mirror.log 2>&1; cd 
release/channels; while true; do date; ./mirror-nixos.sh; sleep 300; done'
+          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'
         '';
     };
 
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to