From c898a3169da1467c19b7ce7453ff993fdf139ba8 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 4 Feb 2023 03:39:45 +0800 Subject: [PATCH] Fix ESP backup file path (#134) --- nixos-infect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos-infect b/nixos-infect index bb948eb..70f1b4d 100644 --- a/nixos-infect +++ b/nixos-infect @@ -354,7 +354,7 @@ infect() { rm -rf /boot.bak 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 mkdir -p /boot mount "$esp" /boot