Add info message before resize checks
This commit is contained in:
parent
3647d2956e
commit
ce67bb37b3
@ -5,7 +5,7 @@
|
|||||||
# Some ideas and code reworked from other resources
|
# Some ideas and code reworked from other resources
|
||||||
# AIF, Cnichi, Calamares, Arch Wiki.. Credit where credit is due
|
# 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
|
DIST="ArchLabs" # linux distributor
|
||||||
MNT="/mnt" # install mountpoint
|
MNT="/mnt" # install mountpoint
|
||||||
ANS="/tmp/ans" # dialog answer file
|
ANS="/tmp/ans" # dialog answer file
|
||||||
@ -919,6 +919,7 @@ part_resize()
|
|||||||
fs=$(lsblk -lno FSTYPE "$part")
|
fs=$(lsblk -lno FSTYPE "$part")
|
||||||
case "$fs" in
|
case "$fs" in
|
||||||
ext[2-4]|ntfs)
|
ext[2-4]|ntfs)
|
||||||
|
msg "Resize" "\nGathering device size info.\n" 0
|
||||||
num="${part: -1}"
|
num="${part: -1}"
|
||||||
end=$(parted -s "$device" print | awk '/^\s*'"$num"'/ {print $3}')
|
end=$(parted -s "$device" print | awk '/^\s*'"$num"'/ {print $3}')
|
||||||
devsize=$(parted -s "$device" print | awk '/Disk '"${device//\//\\/}"':/ {print $3}')
|
devsize=$(parted -s "$device" print | awk '/Disk '"${device//\//\\/}"':/ {print $3}')
|
||||||
|
Reference in New Issue
Block a user