From 65356cb4dce4b703635b4ec2cd8f8a59ccfbd20f Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Mon, 18 May 2020 08:56:24 +0000
Subject: [PATCH] Swapped if for ternaries inline

---
 arch-install.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch-install.sh b/arch-install.sh
index cd9d22d..101652f 100644
--- a/arch-install.sh
+++ b/arch-install.sh
@@ -35,7 +35,7 @@
 # Make boot files and setup grub
 arch-chroot /mnt mkinitcpio -P
 arch-chroot /mnt sh -c "echo root:$RPASS | chpasswd"
-sed "s/GRUB_TIMEOUT=\d*/GRUB_TIMEOUT=\"0\"/" /mnt/etc/default/grub
+sed -i "s/GRUB_TIMEOUT=\d*/GRUB_TIMEOUT=\"0\"/" /mnt/etc/default/grub
 arch-chroot /mnt grub-install $DISK
 arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg
 

--
Gitblit v1.9.3