mirror of
https://github.com/elitak/nixos-infect.git
synced 2024-12-22 16:18:29 +03:00
Fix ESP backup file path (#134)
This commit is contained in:
parent
5e110b972f
commit
c898a3169d
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ infect() {
|
||||||
rm -rf /boot.bak
|
rm -rf /boot.bak
|
||||||
isEFI && umount "$esp"
|
isEFI && umount "$esp"
|
||||||
|
|
||||||
mv -v /boot /boot.bak || { cp -a /boot /book.bak ; rm -rf /boot/* ; umount /boot ; }
|
mv -v /boot /boot.bak || { cp -a /boot /boot.bak ; rm -rf /boot/* ; umount /boot ; }
|
||||||
if isEFI; then
|
if isEFI; then
|
||||||
mkdir -p /boot
|
mkdir -p /boot
|
||||||
mount "$esp" /boot
|
mount "$esp" /boot
|
||||||
|
|
Loading…
Reference in a new issue