Fix misplaced deletion of setup files
This commit is contained in:
parent
2292ff7387
commit
f2de343c50
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue