Fix misplaced deletion of setup files

This commit is contained in:
Manuel Thalmann 2023-04-03 10:39:17 +02:00
parent 2292ff7387
commit f2de343c50

View file

@ -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" mkinitcpio -P;
arch-chroot "$ARCH_MOUNT_ROOT" bash "$tempDir/../Software/GRUB/install.sh"; arch-chroot "$ARCH_MOUNT_ROOT" bash "$tempDir/../Software/GRUB/install.sh";
arch-chroot "$ARCH_MOUNT_ROOT" rm -rf "$tempRoot";
USER_NAME="${USER_NAME}" \ USER_NAME="${USER_NAME}" \
@ -46,4 +45,6 @@ USER_DISPLAYNAME="${USER_DISPLAYNAME}" \
USER_GROUPS="${USER_GROUPS}" \ USER_GROUPS="${USER_GROUPS}" \
arch-chroot "$ARCH_MOUNT_ROOT" bash "$tempDir/user.sh"; arch-chroot "$ARCH_MOUNT_ROOT" bash "$tempDir/user.sh";
arch-chroot "$ARCH_MOUNT_ROOT" rm -rf "$tempRoot";
popd > /dev/null; popd > /dev/null;