From 9afb779a516e0b5f0b2fb2330b6a3567d9b19359 Mon Sep 17 00:00:00 2001 From: piotr25691 <71488561+piotr25691@users.noreply.github.com> Date: Sun, 27 Nov 2022 19:50:10 +0100 Subject: [PATCH] part 2 of previous --- trolley-arch-chroot.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/trolley-arch-chroot.sh b/trolley-arch-chroot.sh index 26b8264..a1ae4d5 100755 --- a/trolley-arch-chroot.sh +++ b/trolley-arch-chroot.sh @@ -1,6 +1,5 @@ #!/bin/bash -BLK=$(lsblk | sed -n '2p' | awk '{print $1}') -DEV="/dev/$BLK" +DEV=$1 # install grub pacman --noconfirm -Sy grub efibootmgr