fix: su pwd

This commit is contained in:
ange 2024-05-25 17:23:01 +02:00
parent 904edd1b7c
commit e06284ca50
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D

View File

@ -12,7 +12,7 @@ cp -r ./modules/chroot/ /mnt/
done done
for i in ./chroot/user/*.sh; do for i in ./chroot/user/*.sh; do
arch-chroot /mnt/ su "$username" -c "bash -x '/$i'" arch-chroot /mnt/ su - "$username" -c "bash -x '/$i'"
done done
) )