diff options
-rwxr-xr-x | install.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -42,7 +42,6 @@ if [ ! -e installed ]; then pacstrap /mnt base || exit 1 genfstab -U /mnt >> /mnt/etc/fstab - sudo install -d . /mnt/root/dotfiles sed "s|%%UUID%%|$(blkid ${PART}2)|" src/etc/default/grub.orig > src/etc/default/grub touch installed else @@ -50,6 +49,9 @@ else mount /dev/Crypt/root /mnt mount ${PART}1 /mnt/efi fi +rm -r /mnt/root/dotfiles +sudo install -d /mnt/root/dotfiles +cp -r . /mnt/root/dotfiles arch-chroot /mnt << EOF sh /root/dotfiles/build.sh EOF |