diff --git a/scripts/Arch/OS/setup.sh b/scripts/Arch/OS/setup.sh index 1577992a..1bbab983 100755 --- a/scripts/Arch/OS/setup.sh +++ b/scripts/Arch/OS/setup.sh @@ -38,7 +38,6 @@ arch-chroot "$ARCH_MOUNT_ROOT" echo "$ARCH_HOSTNAME" > /etc/hostname; arch-chroot "$ARCH_MOUNT_ROOT" mkinitcpio -P; arch-chroot "$ARCH_MOUNT_ROOT" bash "$tempDir/../Software/GRUB/install.sh"; -arch-chroot "$ARCH_MOUNT_ROOT" rm -rf "$tempRoot"; USER_NAME="${USER_NAME}" \ @@ -46,4 +45,6 @@ USER_DISPLAYNAME="${USER_DISPLAYNAME}" \ USER_GROUPS="${USER_GROUPS}" \ arch-chroot "$ARCH_MOUNT_ROOT" bash "$tempDir/user.sh"; +arch-chroot "$ARCH_MOUNT_ROOT" rm -rf "$tempRoot"; + popd > /dev/null;