Add info message before resize checks

This commit is contained in:
natemaia 2019-04-17 19:51:16 -07:00
parent 3647d2956e
commit ce67bb37b3

View File

@ -5,7 +5,7 @@
# Some ideas and code reworked from other resources
# AIF, Cnichi, Calamares, Arch Wiki.. Credit where credit is due
VER="2.0.34" # installer version
VER="2.0.35" # installer version
DIST="ArchLabs" # linux distributor
MNT="/mnt" # install mountpoint
ANS="/tmp/ans" # dialog answer file
@ -919,6 +919,7 @@ part_resize()
fs=$(lsblk -lno FSTYPE "$part")
case "$fs" in
ext[2-4]|ntfs)
msg "Resize" "\nGathering device size info.\n" 0
num="${part: -1}"
end=$(parted -s "$device" print | awk '/^\s*'"$num"'/ {print $3}')
devsize=$(parted -s "$device" print | awk '/Disk '"${device//\//\\/}"':/ {print $3}')