* Grrr. Fix the sort order.
svn path=/nixos/trunk/; revision=23732
This commit is contained in:
parent
4ae4b7d47f
commit
8edefa2960
|
@ -250,8 +250,8 @@ for link in $((ls -d $defaultConfig/fine-tune/* ) | sort -n); do
|
|||
done
|
||||
|
||||
for generation in $(
|
||||
(cd /nix/var/nix/profiles && echo system-*-link) \
|
||||
| sed 's/system-\([0-9]\+\)-link/\1/g' \
|
||||
(cd /nix/var/nix/profiles && for i in system-*-link; do echo $i; done) \
|
||||
| sed 's/system-\([0-9]\+\)-link/\1/' \
|
||||
| sort -n -r); do
|
||||
link=/nix/var/nix/profiles/system-$generation-link
|
||||
date=$(stat --printf="%y\n" $link | sed 's/\..*//')
|
||||
|
|
Loading…
Reference in New Issue