diff --git a/archlabs-installer b/archlabs-installer index e717518..0c41af0 100755 --- a/archlabs-installer +++ b/archlabs-installer @@ -948,6 +948,7 @@ part_shrink() mount "$part" $MNT >/dev/null 2>&1; sleep 0.5 min=$(df --output=used --block-size=KiB "$part" | awk 'NR == 2 {print int($1)}') umount $MNT >/dev/null 2>&1 + ;; ntfs) min=$(ntfsresize -f -m "$part" | awk 'NR == 2 {print int(($NF * 1000 * 1000) / 1024)}') >/dev/null 2>&1 ;; esac