mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2026-02-04 02:36:12 +00:00
Compare commits
6 commits
e6592d47c6
...
759607b47f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
759607b47f | ||
|
|
7d2818b4ba | ||
|
|
6154b986fb | ||
|
|
905bb43563 | ||
|
|
fad53c5f58 | ||
|
|
db6c98e98b |
2 changed files with 4 additions and 3 deletions
2
.github/workflows/shellcheck.yml
vendored
2
.github/workflows/shellcheck.yml
vendored
|
|
@ -17,6 +17,6 @@ jobs:
|
|||
name: Bash syntax checker
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
- name: Run ShellCheck
|
||||
uses: ludeeus/action-shellcheck@master
|
||||
|
|
|
|||
|
|
@ -264,10 +264,11 @@ until keyboard_selector; do : ; done
|
|||
|
||||
# Choosing the target 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): "
|
||||
select ENTRY in $(lsblk -dpnoNAME|grep -P "/dev/sd|nvme|vd");
|
||||
select ENTRY in "${ARR[@]}";
|
||||
do
|
||||
DISK="$ENTRY"
|
||||
DISK="$($ENTRY | awk '{print $1;}')"
|
||||
info_print "Arch Linux will be installed on the following disk: $DISK"
|
||||
break
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue