Fix bashisms in create bootable usb (#477)

Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
This commit is contained in:
Nyx 2024-09-18 20:04:27 -04:00 committed by GitHub
parent d586b6e1bd
commit cca4fd1ced
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -103,7 +103,8 @@ fetch_iso_urls() {
echo "2) Arch Linux (older versions)"
echo "3) Debian Linux (latest)"
echo ""
read -p "Select the ISO you want to download (1-3): " ISO_OPTION
printf "Select the ISO you want to download (1-3): "
read -r ISO_OPTION
case $ISO_OPTION in
1)
@ -144,7 +145,8 @@ write_iso(){
list_devices
# Prompt user for USB device
read -p "Enter the USB device (e.g., /dev/sdX): " USB_DEVICE
printf "Enter the USB device (e.g., /dev/sdX): "
read -r USB_DEVICE
# Verify that the USB device exists
if [ ! -b "$USB_DEVICE" ]; then