git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34775 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
This commit is contained in:
parent
ac8e525835
commit
ba7e9f67e5
|
@ -12,7 +12,7 @@ find /data/releases/nixos/ /data/releases/nixpkgs/ -maxdepth 1 -name ".tmp*" -mt
|
|||
done
|
||||
|
||||
# Remove old NixOS releases.
|
||||
find /data/releases/nixos/ -maxdepth 1 -name "nixos-*pre*" -mtime +14 | sort | while read rel; do
|
||||
find /data/releases/nixos/unstable/ /data/releases/nixos/??.??/ -maxdepth 1 -name "nixos-*pre*" -mtime +14 | sort | while read rel; do
|
||||
if [ -e $rel/keep ]; then
|
||||
echo "keeping NixOS release $rel" >&2
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue