From c25f569a4a08965b430fdf49601cc34d6bec0076 Mon Sep 17 00:00:00 2001 From: Tommaso Chiti Date: Sun, 31 Jan 2021 20:03:03 +0100 Subject: [PATCH] Added a "g" for sed. --- easy-arch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easy-arch.sh b/easy-arch.sh index 09797ab..1dff869 100644 --- a/easy-arch.sh +++ b/easy-arch.sh @@ -119,7 +119,7 @@ sed -i -e 's,modconf block filesystems keyboard,keyboard keymap modconf block en # Enabling LUKS in GRUB. UUID=$(blkid $Cryptroot | cut -f2 -d'"') sed -i 's/#\(GRUB_ENABLE_CRYPTODISK=y\)/\1/' /mnt/etc/default/grub -sed -i "s,quiet,quiet cryptdevice=UUID=$UUID:cryptroot root=$BTRFS" /mnt/etc/default/grub +sed -i -e "s,quiet,quiet cryptdevice=UUID=$UUID:cryptroot root=$BTRFS,g" /mnt/etc/default/grub # Creating a swapfile. echo "How much big should the swap file be? Type the size, just a number (eg: 1 = 1GB..) "