mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
Synced with trunk @ 15548
svn path=/nixos/branches/modular-nixos/; revision=15643
This commit is contained in:
parent
5cff1db403
commit
7dc33353c4
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ bootMount="@bootMount@"
|
|||
if test -z "$bootMount"; then bootMount=/boot; fi
|
||||
|
||||
|
||||
echo "updating the Grub menu..."
|
||||
echo "updating the GRUB menu..."
|
||||
|
||||
|
||||
target=/boot/grub/menu.lst
|
||||
|
@ -176,7 +176,7 @@ mv $tmp $target
|
|||
|
||||
|
||||
# Remove obsolete files from /boot/kernels.
|
||||
for fn in $(ls /boot/kernels/*); do
|
||||
for fn in /boot/kernels/*; do
|
||||
if ! test "${filesCopied[$fn]}" = 1; then
|
||||
rm -vf -- "$fn"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue