install.sh: Remove extra lsblk call

It never produces anything useful and it causes an error.
This commit is contained in:
caem 2025-04-08 22:08:58 +02:00
parent e7b880127d
commit 6b9319bad0
Signed by: caem
GPG key ID: 69A830D03203405F

View file

@ -109,8 +109,6 @@ ensure_confirmation() {
printf "This disk contains following partitions:\n\n" printf "This disk contains following partitions:\n\n"
lsblk -o NAME,SIZE,TYPE,FSTYPE "$CAENIX_INSTALL_DEVICE" lsblk -o NAME,SIZE,TYPE,FSTYPE "$CAENIX_INSTALL_DEVICE"
printf "\n" printf "\n"
lsblk -no NAME "$CAENIX_INSTALL_DEVICE" | tail -n +2 | tr -cd '[:alnum:][:space:]' | xargs -I {} -- df -h "/dev/{}"
printf "\n"
printf "Please write 'Yes, do as I say!' to continue with the installation\n> " printf "Please write 'Yes, do as I say!' to continue with the installation\n> "
read -r install_prompt read -r install_prompt