From 4e60793784a25c51fe8cc20a3b206e4a8c9b942b Mon Sep 17 00:00:00 2001 From: natemaia Date: Sat, 7 Mar 2020 17:53:06 -0800 Subject: [PATCH] Clean up part show --- archlabs-installer | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/archlabs-installer b/archlabs-installer index 006cf7e..4ff75d4 100755 --- a/archlabs-installer +++ b/archlabs-installer @@ -5,7 +5,7 @@ # Some ideas and code reworked from other resources # AIF, Calamares, and the Arch Wiki.. Credit where credit is due -VER=2.1.23 +VER=2.1.24 # default values { @@ -643,7 +643,9 @@ part_menu() part_show() { - msg "Device Tree" "\n\n$(lsblk -o NAME,MODEL,SIZE,FSTYPE,MOUNTPOINT | awk '!'"/${IGNORE_DEV:-NONEXX}/")\n\n" + msg "Device Tree" "\n\n$( + lsblk -no NAME,MODEL,SIZE,TYPE,FSTYPE,MOUNTPOINT | awk '/disk|part|lvm|crypt/ && !'"/${IGNORE_DEV:-NONEXX}/"'{sub(/part|disk|crypt|lvm/, ""); print}' + )\n\n" } part_auto()