Clean up part show

This commit is contained in:
natemaia 2020-03-07 17:53:06 -08:00
parent f7c99005f1
commit 4e60793784

View File

@ -5,7 +5,7 @@
# Some ideas and code reworked from other resources # Some ideas and code reworked from other resources
# AIF, Calamares, and the Arch Wiki.. Credit where credit is due # AIF, Calamares, and the Arch Wiki.. Credit where credit is due
VER=2.1.23 VER=2.1.24
# default values { # default values {
@ -643,7 +643,9 @@ part_menu()
part_show() 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() part_auto()