Compare commits

..

No commits in common. "759607b47fa254d8c8d0c46c30e08dc759aa4277" and "e6592d47c6cef61026b1a7c4bff0a7b2356545c5" have entirely different histories.

2 changed files with 3 additions and 4 deletions

View file

@ -17,6 +17,6 @@ jobs:
name: Bash syntax checker name: Bash syntax checker
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v5
- name: Run ShellCheck - name: Run ShellCheck
uses: ludeeus/action-shellcheck@master uses: ludeeus/action-shellcheck@master

View file

@ -264,11 +264,10 @@ until keyboard_selector; do : ; done
# Choosing the target for the installation. # Choosing the target for the installation.
info_print "Available disks for the installation:" info_print "Available disks for the installation:"
mapfile -t ARR < <(lsblk -dpno NAME,SIZE,MODEL | grep -P "/dev/sd|nvme|vd");
PS3="Please select the number of the corresponding disk (e.g. 1): " PS3="Please select the number of the corresponding disk (e.g. 1): "
select ENTRY in "${ARR[@]}"; select ENTRY in $(lsblk -dpnoNAME|grep -P "/dev/sd|nvme|vd");
do do
DISK="$($ENTRY | awk '{print $1;}')" DISK="$ENTRY"
info_print "Arch Linux will be installed on the following disk: $DISK" info_print "Arch Linux will be installed on the following disk: $DISK"
break break
done done