mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-11-23 01:51:33 -05:00
Typo fix + set e
This commit is contained in:
parent
d8bf30e46b
commit
7a50c4e548
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user