Compare commits

...

6 commits

Author SHA1 Message Date
Tommaso Chiti
759607b47f
Merge pull request #69 from classy-giraffe/dependabot/github_actions/actions/checkout-6
Some checks failed
ShellCheck / Bash syntax checker (push) Has been cancelled
Bump actions/checkout from 5 to 6
2025-12-22 22:23:24 +01:00
Tommaso Chiti
7d2818b4ba
Merge pull request #70 from cv4x/more-disk-info
Show more information during disk selection (size, name).
2025-12-22 22:22:27 +01:00
Claire West
6154b986fb Better approach for extracting first column 2025-12-22 16:09:19 -05:00
Claire West
905bb43563 Remove editor auto-formatting 2025-12-22 10:19:21 -05:00
Claire West
fad53c5f58 Show more disk info 2025-12-22 10:09:16 -05:00
dependabot[bot]
db6c98e98b
Bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-21 07:12:30 +00:00
2 changed files with 4 additions and 3 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@v5 - uses: actions/checkout@v6
- name: Run ShellCheck - name: Run ShellCheck
uses: ludeeus/action-shellcheck@master uses: ludeeus/action-shellcheck@master

View file

@ -264,10 +264,11 @@ 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 $(lsblk -dpnoNAME|grep -P "/dev/sd|nvme|vd"); select ENTRY in "${ARR[@]}";
do do
DISK="$ENTRY" DISK="$($ENTRY | awk '{print $1;}')"
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