fix
This commit is contained in:
parent
ba5e58a55f
commit
7b6a1e364f
2
arch.sh
Normal file → Executable file
2
arch.sh
Normal file → Executable file
@ -7,7 +7,7 @@ TARGET='/mnt'
|
|||||||
######################################
|
######################################
|
||||||
clear
|
clear
|
||||||
echo
|
echo
|
||||||
HARD_DISK=$(lsblk | cut -d ' ' -f1 | grep -vi zram | head -2 | tail -1)
|
HARD_DISK=/dev/$(lsblk | cut -d ' ' -f1 | grep -viE 'loop0|sr0|zram' | head -2 | tail -1)
|
||||||
EFI="/dev/$(lsblk | grep $HARD_DISK | head -2 | tail -1 | cut -c 7-20 | cut -d ' ' -f1)"
|
EFI="/dev/$(lsblk | grep $HARD_DISK | head -2 | tail -1 | cut -c 7-20 | cut -d ' ' -f1)"
|
||||||
BTRFS="/dev/$(lsblk | grep $HARD_DISK | head -3 | tail -1 | cut -c 7-20 | cut -d ' ' -f1)"
|
BTRFS="/dev/$(lsblk | grep $HARD_DISK | head -3 | tail -1 | cut -c 7-20 | cut -d ' ' -f1)"
|
||||||
ROOT_NAME='arch'
|
ROOT_NAME='arch'
|
||||||
|
Loading…
Reference in New Issue
Block a user