fix reboot not updating system config
This commit is contained in:
parent
03da1c3be6
commit
0b4523ae4a
@ -153,7 +153,7 @@ do_update() {
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo nix-env --profile /nix/var/nix/profiles/system --set "$new_system"
|
nix-env --profile /nix/var/nix/profiles/system --set "$new_system"
|
||||||
if [[ -f /boot/grub/grub.cfg ]]
|
if [[ -f /boot/grub/grub.cfg ]]
|
||||||
then
|
then
|
||||||
echo "bootloader 'GRUB' detected, configuring test-boot into new system"
|
echo "bootloader 'GRUB' detected, configuring test-boot into new system"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user