1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-10-29 16:21:33 -04:00

Typo fix + set e

This commit is contained in:
Tommy 2024-10-25 05:48:19 -07:00 committed by GitHub
parent d8bf30e46b
commit 7a50c4e548
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,7 +14,7 @@
# License for the specific language governing permissions and limitations under # License for the specific language governing permissions and limitations under
# the License. # the License.
set -u set -eu
output(){ output(){
printf '\e[1;34m%-6s\e[m\n' "${@}" printf '\e[1;34m%-6s\e[m\n' "${@}"
@ -546,6 +546,10 @@ arch-chroot /mnt /bin/bash -e <<EOF
# Generating locales # Generating locales
locale-gen locale-gen
# Generating a new initramfs
chmod 600 /boot/initramfs-linux*
mkinitcpio -P
# Installing GRUB # Installing GRUB
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB --disable-shim-lock grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB --disable-shim-lock